Running Amazon MP3 downloader on 64-bit Ubuntu 11.04 (Natty Narwhal)

By , September 25, 2011 3:00 pm

Amazon MP3 store – a phenomenonly popular online music store. Ubuntu – a phenomenonly popular version of Linux. 64-bit x86_64 CPUs – been around for years. You’d think this was a good combination, wouldn’t you? Wrong 🙁 Amazon, along with Spotify and countless others, is dismally failing to support its rapidly growing set of customers who run Linux. As I’ve said elsewhere, even if 2% of your customers use Linux, that can still be a huge number. Hopefully some day these big companies will acquire some common sense.

Anyway, in the mean time a quick google brought up the following solution:

  • (unfortunately this link no longer works)

Unfortunately it doesn’t work – the step which installs the manually downloaded .deb files fails due to broken dependencies. However further googling found a post from 2008 which revealed a technique based on the very useful getlibs utility.

So here’s my solution:

  1. Download the 32-bit Amazon downloader app for Ubuntu 9.10.
  2. Run sudo dpkg -i --force-all AmazonMP3DownloaderInstall.deb
  3. Run sudo apt-get install getlibs if you don’t already have getlibs installed.
  4. Run sudo getlibs /usr/bin/amazonmp3 and answer yes to the confirmation.

At this point if you try to run /usr/bin/amazonmp3 you’ll probably hit Ubuntu bug 781870. The workaround is as follows:

export GDK_PIXBUF_MODULE_FILE=/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache

You’ll still get an error that it’s trying to load the 64-bit version of thanks to Ubuntu bug 369498. I had hopes that export GIO_EXTRA_MODULES=/usr/lib32/gio/modules would fix this, but it seems that this variable only gets honoured too late. However, apparently this issue doesn’t stop the program working so can be ignored.

Another option is to use Banshee’s built-in Amazon downloader, but even without all the politics surrounding Ubuntu’s version of Banshee this didn’t suit my tastes.

UPDATE: Wow. Just found out Amazon doesn’t support re-downloading stuff you’ve already bought. This is truly pathetic, especially considering their Android app kind of implements a locker service. From now on I’ll be using 7digital whenever I can – unfortunately their selection isn’t as big though. The quest for the perfect music services continues … :-/


5 Responses to “Running Amazon MP3 downloader on 64-bit Ubuntu 11.04 (Natty Narwhal)”

  1. Tyler Melton says:

    Thanks for the alternate method. Mine had worked fine for me until I tried to use it on my Ubuntu 11.10 beta 2 install. I’m a heavy banshee user these days so it just wasn’t a big priority to find another work around and I’ve honestly not had the time. You also could take a look at pymazon if you haven’t already.

  2. bderenorcaine says:

    Regarding the redownloading: a quick mail to amazon support will usually fix that. Just say you lost the files and the download will be reenabled just a few minutes later.

  3. dgf64 says:

    The page you linked to no longer exists..

  4. Adam says:

    @bderenorcaine: yeah … but that’s such a hopelessly BRAINDEAD, idiotic, unscalable workflow! If Amazon are stupid enough to design a system like that, I’d rather take my money elsewhere thanks.

    @dgf64: thanks for the heads up, I’ll edit the post.

  5. Benjamin says:

    I am running Ubuntu 11.10 (64-bit). I found that the built-in Amazon MP3 tool in Banshee Media Player works very well.
    I also think it’s nasty that Amazon doesn’t update the Ubuntu solution (on their site) that they require.

Leave a Reply


Panorama Theme by Themocracy