Here is a quick info.dump that lays out the commands required for installation of ownCloud 5.0.x on a server running Ubuntu 12.04.
Run the following as root (EX
Add the repository key to apt:
apt-key add - < Release.key
Add the PPA:
echo 'deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/ /' >> /etc/apt/sources.list.d/owncloud.list
sudo apt-get update
sudo apt-get install owncloud
That is about it!
./var/www/owncloud/data is where the info is stored.
./var/www/owncloud/config/config.php is where the configuration file is located.