SDB:Amazon MP3 downloader on openSUSE 11.2
This HOWTO will explain how to use the Amazon MP3 download service under openSUSE.
The Banshee media player includes the Amazon MP3 plugin in openSUSE 11.4 and newer, meaning this page is redundant for users of 11.4 and newer.
- 1 Situation
- 2 Procedure
- 2.1 Using the Banshee Plug-in on 11.3 (this is the easy way)
- 2.2 Making the official Amazon RPM Work on Opensuse 11.2 (this is more difficult)
Amazon's official MP3 download application is currently (January 2011) only available for openSUSE 11.1.
Users of openSUSE 11.2 can get the program working through a slightly tricky procedure as described below. Users of openSUSE 11.3 simply need to upgrade the Banshee media player to a version that has the Amazon MP3 plugin (see below).
Using the Banshee Plug-in on 11.3 (this is the easy way)
- Add the Banshee repository and update Banshee. The simplest way to do this is to use the 1-Click Install. If you don't want to use the 1-Click Install you can add the Banshee repository (http://download.opensuse.org/repositories/Banshee/openSUSE_11.3) in YAST and update through YAST or zypper.
- Close and restart Banshee and you should now see an item labelled 'Amazon MP3 Store' in the left-hand side list box. Clicking on this will take you to the Amazon website, once you've bought and checked out some MP3s they will download automatically.
Note: You can use either Banshee or any other music player to play these files, you are also free to move the files to another folder or computer (once they've completed downloading of course).
Making the official Amazon RPM Work on Opensuse 11.2 (this is more difficult)
Step 1: Install Required Dependencies
First open a console (terminal) and become the root user with (The commands in steps 1 to 4 should all be executed as root):
Then you can just copy and paste the following command into a console and hit enter to run it.
zypper install libboost_date_time1_39_0 libboost_filesystem1_39_0 libboost_signals1_39_0 \ libboost_thread1_39_0 libboost_system1_39_0 libboost_iostreams1_39_0 libboost_regex1_39_0 libicu libglademm-2_4-1 glibmm2 gtkmm2 libpangomm-1_4-1 cairomm
On an x86_64 (64-bit) installation do this in addition to the above command:
mkdir amazon cd amazon wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libsigc++2-220.127.116.11-2.2.i586.rpm wget http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/libglade2-2.6.4-2.5.i586.rpm rpm -i --force --nodeps *.rpm
Step 2: 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 3: 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 4: 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 5: 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.