LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   How to get Amazon mp3 downloader in Debian Lenny (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/how-to-get-amazon-mp3-downloader-in-debian-lenny-703505/)

Chili.Willy 02-09-2009 10:34 PM

How to get Amazon mp3 downloader in Debian Lenny
 
I have moved to Debian Lenny, and I wanted to install the Amazon mp3 downloader so I could spend all my $$ on music. As you probably know, Amazon makes you install their downloading program if you want to buy a whole album, not just one song at a time. But the software only works in Debian Etch, not Lenny. Here's how I made it work in Lenny.

1. Download the Amazon software. You will get amazonmp3.deb in your downloads folder (in my case, ~/Desktop).

2. Edit your /etc/apt/sources.list file so you will have Etch repositories. To do this, first back up the file. Then find 2 lines that look like this:

Code:

deb http://http.us.debian.org/debian/ lenny main
deb-src http://http.us.debian.org/debian/ lenny main

They may not be exactly the same as mine, but they should start with "deb" and "deb-src" and end with "lenny main".

Make a new copy of those 2 lines, and then change "lenny" to "etch" in each of them. You should now have the original 2 lines like those above, and 2 new lines like this:

Code:

deb http://http.us.debian.org/debian/ etch main
deb-src http://http.us.debian.org/debian/ etch main

3. Start up Synaptic Package Manager. Search for libboost. Find the following packages in the resulting list, and mark them for installation:
Code:

libboost-date-time1.33.1
libboost-iostreams1.33.1
libboost-signals1.33.1
libboost-thread1.33.1

Be sure you pick the 1.33.1 version of each!
Then apply the changes by clicking Synaptic's green check-mark icon. Then close Synaptic.

4. Start up a terminal and issue
Code:

sudo dpkg -i ~/Desktop/amazonmp3.deb
(or use the path to your download directory if it's different).
If all is well, you won't get any error messages.

5. Check the installation by issuing
Code:

/usr/bin/amazonmp3
You should see the GUI program, not an error message.

6. Amazon sets a cookie called "dmusic_download_manager_enabled" so it knows you have the downloader. Get the cookie by going to http://www.amazon.com/gp/dmusic/help/amd.html and clicking the link under the "Troubleshooting" heading. You can then look for the cookie in your browser, and if it's "on" you should be OK. Poke around in Amazon & try downloading one of their free songs. If all is well, ordering the song should start up the downloader.

7. Edit /etc/apt/sources.list again & comment out or delete the lines you added.

Abject 09-08-2009 12:50 AM

Just a small update...
 
First off, thanks for this. I, too, wish to spend all my money on Amazon mp3's.

Instead of:

Quote:

Originally Posted by Chili.Willy (Post 3437911)
[...]
Code:

deb http://http.us.debian.org/debian/ etch main
deb-src http://http.us.debian.org/debian/ etch main

[...]

I'd recommend:

Code:

deb http://http.us.debian.org/debian/ oldstable main
deb-src http://http.us.debian.org/debian/ oldstable main

I think Etch became oldstable when Lenny went stable.


All times are GMT -5. The time now is 02:01 PM.