When installing Ampache from the repositories the source of Ampache will be installed to:
/usr/share/ampache/www/
Ampache's configuration file (ampache.cfg.php) should be placed in:
/etc/ampache/
The ampache package depends on the following packages to be installed. These packages will be automatically downloaded and installed during this process:
It is also recommended that you install these additional packages if not already installed:
Intrepid will be the second Ubuntu release which will have Ampache-3.4.3-0ubuntu3. Intrepid will be released 10.30.08
Hardy is the first official release of Ubuntu that has Ampache-3.3.3.5-dfsg1-1 included in the archives. Installing Ampache is as easy as:
apt-get install ampache
but the first thing you need to do is to insure that the following lines are uncommented (that means remove the ”#”) in your /etc/apt/sources.list.
deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
Ampache does not install MySQL Server for two reasons.
So, we recommend that you backup and upgrade your existing MySQL Server setups with caution. This is how to install mysql-server:
sudo apt-get install mysql-server
So you got your Hardy box up and running and everything is going fine. Then you notice that the new and improved Ampache-3.4.1-1 is in Intrepid and you want to try it. Well good news you can install it from source and this is how.
Installing Ampache from source is fairly easy. These are the basic steps you would use to install Ampache on your etch machine. Apache, PHP5 and MySQL will have to be installed and all their related dependencies before you install Ampache. The first thing we need to do is to go get some needed tools namely dget and debuild which are part of the devscripts and build-essential packages.
apt-get install devscripts build-essential
First let's make a directory we can work in
cd /home/your.name mkdir /home/your.name/ampache cd /home/your.name/ampache
Now let's go get Ampache's source package using dget -x.
dget -x http://archive.ubuntu.com/ubuntu/pool/universe/a/ampache/ampache_3.4.1-1.dsc
Now change directories to Ampache's source tree.
cd /home/your.name/ampache/ampache-3.4.1
Now let's build the package.
debuild -us -uc
Now that we have a nice new binary package let's install it
dpkg -i ../*deb
Ampache is now installed. It still needs configured: Continue to Ampache's Initial Configuration