[SOLVED] Wordpress: Install from apt or by downloading from the website?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wordpress: Install from apt or by downloading from the website?
Recently, I've been interested in downloading and running Wordpress locally, just to see how it works and what it can do.
As of now, I currently see two ways to install it.
The (seemingly) simplest method is to download a zip file or tarball from https://wordpress.org/download/ and unzip it into a directory like /var/www/html/wordpress/ (or any other directory in the web server)
However, I've also noticed that there are wordpress packages in Debian's repos:
Are you installing this to a hosting service or are you running a local LAMPP server to which to install it? In order to run Wordpress, you need a LAMPP server. (Looking at your first post, I'm guessing you have a LAMPP server.)
I would suggest following the instructions from the Wordpress website. Doing so will ensure that you get the latest and most secure version:
I do respect Debian, but "latest" is not necessarily a Debian thing.
By the way, I started with Linux so I could self-host my website and run a Wordpress blog. I did my first Slackware install just about 11 years ago this month. I'm still using Slackware, as well as some other distros, and the blog is still going, but I no longer self-host my website. But it was a great way to start learning about Linux.
if you run it locally, you'll still need to install a full LAMP stack, as was already pointed out (some other cms' might be able to get by with less, though).
i do not recommend that on your day-to-day machine.
so, maybe in a vm?
as to installing wordpress from debian stable repos - most likely outdated!
in this particular case (installing a CMS) i recommend installing the newest version from the wild web.
While the Debian stable version may be "old", it gets the love of the Debian Security team and is compatible with the rest of the shipped LAMP stack.
Using the download, YOU need to keep up with the security issues and updates and integration.
What do you do when the new version (for example) depends on a later php component than you have? (which may have further foreign dependencies ... which you will also then need to manage yourself)
This can get very messy very quickly if you start upgrading random bits of an integrated stable release like Debian.
I'm not familiar with wordpress or their release policies, so this may or may not be an issue, but if you plan on using it in production, you should definitely find out.
Last edited by descendant_command; 04-15-2016 at 01:46 AM.
I did know that I was going to need LAMP installed, but thanks for making sure. I wasn't sure if I was going to put it in a VM or just run it on my desktop, but it sounds like VM is a better idea.
The Wordpress requirements ask for PHP 5.6 and MariaDB 10.0. Debian Jessie currently has both of these.
It sounds like the only reason that there is a package is to make sure that the requirements are met, but the reqirements are fairly simple.
I think I'm going to just download from wordpress.org.
If you want to set up a LAMPP stack the easy way, take a look at XAMPP. It's not designed to be public-facing, but, for testing and learning, it works quite nicely.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.