Wednesday, 30 January 2008

Updating Banshee in Ubuntu (7.10)

If you have installed Banshee from the Ubuntu repository then chances are the version you have is out of date.

It may run fine but be missing useful features or support for your MP3 player. These things are obviously worth having if you are a frequent user of Banshee. To get the latest version you will need to compile it from source.

To start with make sure you have everything you need to compile from source:
sudo apt-get install build-essentials
Next you will need to update mono-zeroconf. To do this download the latest version from the mono-project. You need to download the “Source code for Linux/OS X (tar.bz2).” Once your download has finished decompress it with the commands:
bzip2 -d mono-zeroconf-0.7.5.tar.bz2
tar -xvf mono-zeroconf-0.7.5.tar 
You should now have a directory called something like “mono-zeroconf-0.7.5″. Change directory into it and compile and install mono-zeroconf by typing the following commands:
./configure
make
sudo make install
Finally, make sure you have the remaining dependencies installed by typing the following commands:
sudo apt-get install gnome-common automake1.9 monodoc
sudo apt-get build-dep banshee
You can now upgrade Banshee. To upgrade the latest version you again need to compile it from source. Before you do that make sure you uninstall the current version:
sudo apt-get remove banshee
You are finally ready to download and compile the latest version of Banshee. Head over to the Banshee Release Page and download the latest release (tarball). Uncompress your download with the following command:
tar -zxvf banshee-0.13.2.tar.gz
Change directory into the Banshee directory you just decompressed and compile and install:
./configure –prefix=/usr –disable-daap
make
sudo make install