The articles explains how to install WordPress on Ubuntu 12.04, to instructions are step by step and I use the latest version of WordPress using the .dpkg package from apt.
To start off with install install the Ubuntu WordPress package with:
apt-get install wordpress php5-gd
This should pull down and install everything you need to install WordPress on Ubuntu, the wp files are installed into the /var/share directory you need to link them and make sure the perms are set correctly.
Create a symlink from /var/share/wordpress to /var/www/wordpress
sudo ln -s /usr/share/wordpress /var/www/wordpress
Create the MySQL Databases for WordPress on Ubuntu:
sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress localhost
**Note the -n wordpress should be replaced with the name of your database (unless you want to call it wordpress) and the domain should be changed to your real world domain e.g linuxmoz.com
Example:
sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n linuxmoz_db linuxmoz.com
Restart Apache:
service apache2 restart
Set the perms for WordPress or the install and autoupdates will not work (make sure you keep WordPress up to date or you will get hacked).
chown -R www-data /usr/share/wordpress
Point your browser at http://localhost/wordpress or http://yourdomain.com/wordpress and follow the on screen instructions.
After configuration you should be good to go, make sure you update WordPress after the installation as I suspect the package version will be out of date.
If you are using friendly URL’s then remember to enable mod_rewite on Ubuntu.