Sunday, July 18, 2010

Installing Amazon MP3 downloader in Ubuntu 10.04 64 Bit Edition

If you are looking to purchase and download MP3 albums via the Amazon MP3 Downloading App and you are using Ubuntu 10.04 64 Bit Edition, you'll notice that it doesn't just work automagically like most other Ubuntu things.

However, thanks to a very helpful post from the Ubuntu Forums, we have a workaround.

#!/bin/sh

sudo dpkg -i --force-all ~/amazonmp3.deb
sudo apt-get install ia32-libs
wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
sudo dpkg -i getlibs-all.deb
sudo getlibs /usr/bin/amazonmp3
sudo getlibs -p gvfs
sudo getlibs -w http://ftp.osuosl.org/pub/ubuntu/pool/universe/b/boost/libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb http://ftp.osuosl.org/pub/ubuntu/pool/universe/b/boost/libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb http://ftp.osuosl.org/pub/ubuntu/pool/universe/b/boost/libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb http://ftp.osuosl.org/pub/ubuntu/pool/universe/b/boost/libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb http://ftp.osuosl.org/pub/ubuntu/pool/universe/b/boost/libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb http://ftp.osuosl.org/pub/ubuntu/pool/universe/b/boost/libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb http://ftp.osuosl.org/pub/ubuntu/pool/main/i/icu/libicu40_4.0.1-2ubuntu2_i386.deb
sudo ldconfig

I've turned this workaround into a script that can be downloaded here.  The script assumes that you have the Amazon MP3 .deb file already downloaded and located in your home directory.
Once you run this script, you can use the Amazon MP3 downloader in Ubuntu 10.04 x64.

Once installed, the Amazon MP3 Downloader will be available under Applications --> Internet --> Amazon MP3 Downloader.