Amazon MP3 Downloader on openSUSE 11.2

From openSUSE

This article is under review!
The contents are currently being evaluated and edited by User:Jonathan_R. Others should not make major changes in the meantime. Thanks for the cooperation.
SDB:
History - SDB-Howto-FAQ - SDB Categories
Geeko This HOWTO will explain how to install the Amazon MP3 Downloader application under openSUSE.

Contents

Instructions

Step 1: Download 32 bit Dependencies Manually

  1. Create a directory to place all dependencies, such as amazon.
  2. Open a console to the directory that you just created.
  3. Download dependency RPMs.

You can just copy and paste the following into a console. After all the commands, except the last one, have completed then you can just hit enter to run the last one as well.

mkdir amazon
cd amazon
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libboost_date_time1_39_0-1.39.0-3.4.1.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libboost_filesystem1_39_0-1.39.0-3.4.1.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libboost_signals1_39_0-1.39.0-3.4.1.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libboost_thread1_39_0-1.39.0-3.4.1.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libboost_system1_39_0-1.39.0-3.4.1.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libboost_regex1_39_0-1.39.0-3.4.1.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libboost_iostreams1_39_0-1.39.0-3.4.1.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libicu-4.2-2.2.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libglademm-2_4-1-2.6.7-3.3.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/glibmm2-2.22.1-2.2.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/gtkmm2-2.18.2-2.5.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libpangomm-1_4-1-2.26.0-2.5.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/cairomm-1.8.2-2.1.i586.rpm

On x86_64, download these two files in addition:

wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libsigc++2-2.2.4.2-2.2.i586.rpm
wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libglade2-2.6.4-2.5.i586.rpm

Step 2: Install Dependencies

Now install all the RPMs that you just downloaded as root. On x86:

su
rpm -i --force *.rpm

On x86_64:

su
rpm -i --force --nodeps *.rpm

Step 3: Create Symbolic Links

Some of the libraries are newer then the Amazon MP3 Downloader requires and will cause it to not open. Simply create symbolic links to the newer libraries so they pose as the older ones. The following commands assume you are still running as root, if not run the su command again.

cd /usr/lib
ln -s libboost_regex.so.1.39.0 libboost_regex.so.1.36.0
ln -s libboost_date_time.so.1.39.0 libboost_date_time.so.1.36.0
ln -s libboost_signals.so.1.39.0 libboost_signals.so.1.36.0
ln -s libboost_iostreams.so.1.39.0 libboost_iostreams.so.1.36.0
ln -s libboost_thread.so.1.39.0 libboost_thread.so.1.36.0
ln -s libboost_system.so.1.39.0 libboost_system.so.1.36.0
ln -s libboost_filesystem.so.1.39.0 libboost_filesystem.so.1.36.0

Step 4: Download openSUSE 11.1 version of Amazon MP3 Downloader

Go to Amazon's MP3 Downloader page and download amazonmp3.rpm to the directory you created. Do not try to install the RPM directly, as it will not work. Just save it for now.

Step 5: Install the Amazon MP3 RPM

Assuming you are still in the directory you created and running as root run the following command to install the Amazon MP3 Downloader.

rpm -i --force --nodeps amazonmp3.rpm

Step 6: Run the Downloader

As a normal user, run amazonmp3 from the command line, search for amazon in the menu, or goto Applications >> Internet >> More Programs >> Amazon MP3 Downloader.

Note that Amazon.com might not recognize that the application is installed when you try to purchase an album for the first time. If that happens, look for the tiny link on the Downloader page that says something like: "If you have already installed the Amazon MP3 Downloader, click here to enable it for use with this browser." Click the provided link and it should be fine from there. When you try to download an album using Firefox, you may need to point it to the amazonmp3 executable to open the AMZ file that the service sends to you.