Tuesday, 24 March 2009

How-To: Compile and Install Banshee 1.4.3 in Debian Lenny

Banshee is a popular audio player written using the GTK toolkit. Currently at version 1.4.3, Banshee is a good alternative to players like Rhythmbox or Exaile for GNOME or Amarok for KDE.

This release comes with improved MTP (media transfer protocol) support and several bug fixes.

Here are several easy to follow steps for compiling Banshee on Debian Lenny (since Debian comes with Banshee 1.0):

Notice that iPod support will not be available!

1. Install the tools needed for compilationType in a terminal as root:

apt-get install build-essential

2. Install the dependenciesMake sure the sources repositories are enabled in the /etc/apt/sources.list file (you should have a line which starts with deb-src, like deb-srcftp://ftp.ro.debian.org/debian/ lenny main contrib non-free) and then issue the following commands as root:

apt-get updateapt-get build-dep banshee

3. Download the source tarballDownload the tarball from the official website, here (direct link), then uncompress it:

tar -xjf banshee-1-1.4.3.tar.bz2

4. Compile and install BansheeIssue the following commands inside the banshee-1-1.4.3 directory:

./configure --disable-ipodmakemake install

The last one as root.

Although I tried to install Banshee as normal user too (using ./configure --prefix), I've got an error when it was still trying to write to /usr so I'm not sure whether it can be installed as normal user this way.

You can run Banshee by pressing ALT+F2 and typing banshee-1 in the Run dialogue that appears.

To uninstall it, just issue the command make uninstall as root from inside the banshee-1-1.4.3 directory.