Clamz mp3 Dowloader (command line) WON'T WORK

Asked by steven riddle

Trying to find a substitute for Amazon's mp3 Downloader which is apparently unstable (Error: Dependency is not satisfiable: libboost-filesystem1.34.1), Ubuntu Software Center has 13 reviews earning "Clamz mp3 Downloader (command line)" 4.5 stars, all the reviews say "it simply works" and other marvelous things, but danged if I can get it to work. I right-click on the ".amz-file", the terminal opens and closes in a blink and nothing happens, no files are downloaded anywhere. Going to the app's website (http://code.google.com/p/clamz/), I read this:

Clamz is a little command-line program to download MP3 files from Amazon.com's music store. It is intended to serve as a substitute for Amazon's official MP3 Downloader, which is not free software (and therefore is only available in binary form for a limited set of platforms.) Clamz can be used to download either individual songs or complete albums that you have purchased from Amazon.

Please keep in mind that there is absolutely no warranty of any kind. Use this software at your own risk.

Installation
A few OS distributions now include clamz packages/ports, so you may want to consult your friendly neighborhood package manager first.

Clamz uses the libraries libgcrypt, libcurl, and libexpat, so you will need to have all three libraries installed (including "development" packages, if any) before compiling clamz.

After downloading the source package, run the following commands to unpack and compile clamz:

tar xfvz clamz-0.5.tar.gz

cd clamz-0.5

./configure

make

To install it, run (as root):

 make install

After downloading the source package, and running the first command, I get:

riddle@riddle-laptop:~$ tar xfvz clamz-0.5.tar.gz
tar (child): clamz-0.5.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
riddle@riddle-laptop:~$

Running the other commands have similar if not exact same results.

Do the instructions "Clamz uses the libraries libgcrypt, libcurl, and libexpat, so you will need to have all three libraries installed (including "development" packages, if any) before compiling clamz" point in useful direction? How would I install these and/or do I need to?

In earlier versions, I was able to download, unpack, and install the original Amazon mp3 Downloader, but apparently things have changed with their software or Ubuntu's.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Revision history for this message
steven riddle (mercysmiles-gmail) said :
#1

I'm running Natty Narwhal.

Revision history for this message
mycae (mycae) said :
#2

What you have downloaded is the "tarball", which is a compressed file archive (like a zip file), that contains the actual programming code needed to build a copy of clamz that your computer can run. The instructions you are looking at are the rough instructions needed to transform it into a usable form.

The first error message indicates that you are not in the correct folder (the command line has a concept of "current folder") which contains the zip file. You can either move the zip file into your home folder, or alternatively use the "cd" command to change the current folder you are in. To learn more about using the command line, have a read of this free ebook (i think it is in chapter 5).

http://ubuntupocketguide.com/index_main.html

However there is a much easier solution:

Clamz is available in the software repositories. Use the package manager (eg "software centre"), to install clamz -- this can be done entirely without the command line. Once done, go to the command line and then run clamz.

Revision history for this message
Best mycae (mycae) said :
#3

Ack, missed your error message higher up.

To resolve that:
http://martinwebster.eu/2009/07/10/install-amazon-mp3-downloader-on-ubuntu-9-04-x86-64/

Revision history for this message
steven riddle (mercysmiles-gmail) said :
#4

so i went to martinweber.eu, read the following:

How to Install Amazon MP3 Downloader on Ubuntu 9.04 x86-64
by Martin Webster on 10/07/2009
The Amazon MP3 Downloader is available for Ubuntu but only as a 32 bit binary. You can install this on your 64 bit PC as follows:

$ sudo apt-get install get-libs
sudo dpkg -i --force-architecture amazonmp3.deb
$ sudo getlibs /usr/bin/amazonmp3

07/09/2010
Additional steps for Ubuntu 10.04: Package amazonmp3 results in the following error:

Error: Dependency is not satisfiable: libboost-filesystem1.34.1

Install libboost-filesystem1.34.1 alongside the current version using instructions by tvst on the Ubuntu forums.

mkdir old_boost

cd old_boost

wget https://launchpadlibrarian.net/26959932/libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959936/libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959922/libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959918/libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959916/libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959928/libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/34165098/libicu40_4.0.1-2ubuntu2_i386.deb

sudo dpkg -i *.deb

cd ..

rm -r old_boost

Note: This fix also applies to Ubuntu 10.04 32-bit version. Also see Installing Amazon MP3 Downloader on Ubuntu 10.10.

so when i saw the link to installing amazon mp3 downloader on 10.10 and i'm running 11.04, i thought those directions might be better being closer in version to what i'm running. those instructions were:

Amazon MP3 Downloader is available for Ubuntu 9.10 only. To get it to work on Ubuntu 10.10 Maverick Meerkat follow these simple steps.

Download the Amazon MP3 Downloader .deb package from Amazon. Save this to your Downloads folder. (had already done so)

Follow the instructions on the Ubuntu Forums for installing Amazon MP3 Downloader on Ubuntu 10.04 Lucid Lynx. Open the terminal and type the following:

mkdir old_boost

cd old_boost

wget https://launchpadlibrarian.net/26959932/libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959936/libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959922/libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959918/libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959916/libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959928/libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/34165098/libicu40_4.0.1-2ubuntu2_i386.deb

sudo dpkg -i *.deb

cd ..

rm -r old_boost

Install packages libglademm and amazonmp3:

$ cd ~/Downloads

$ sudo apt-get install amazonmp3 libglademm-2.4-1c2a

That’s it. When you first run Amazon MP3 Downloader a new Web page will open and display the following message:

Success!
The Amazon Music Downloader was successfully installed on your computer.
It will automatically launch the next time you download songs from Amazon MP3.

Alternatively, use Banshee to access the Amazon MP3 Store: see Amazon MP3 Downloads via Banshee Media Player.

like an idiot, i selected, copied and pasted this second set of instructions, including the additional $'s which of course didn't work. went back and manually typed in each command. the result was that the ubuntu software center opened, allowing me the option to now install amazon's mp3 downloader, which i did do. cool, so far so good. amazon's thing is now listed on the applications menu under "internet." altho the three amz-files i'd already downloaded from amazon failed to download, when i managed to delete those files, downloading them again, all went well.

problem solved.

for what it's worth, here's the terminal info:

riddle@riddle-laptop:~$ mkdir old_boost
riddle@riddle-laptop:~$ cd old_boost
riddle@riddle-laptop:~/old_boost$ wget https://launchpadlibrarian.net/26959932/libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959936/libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959922/libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959918/libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959916/libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/26959928/libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb https://launchpadlibrarian.net/34165098/libicu40_4.0.1-2ubuntu2_i386.deb
--2011-10-29 11:09:46-- https://launchpadlibrarian.net/26959932/libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb
Resolving launchpadlibrarian.net... 91.189.89.228, 91.189.89.229
Connecting to launchpadlibrarian.net|91.189.89.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 73744 (72K) [application/x-debian-package]
Saving to: `libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb'

100%[======================================>] 73,744 196K/s in 0.4s

2011-10-29 11:09:47 (196 KB/s) - `libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb' saved [73744/73744]

--2011-10-29 11:09:47-- https://launchpadlibrarian.net/26959936/libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb
Reusing existing connection to launchpadlibrarian.net:443.
HTTP request sent, awaiting response... 200 OK
Length: 40076 (39K) [application/x-debian-package]
Saving to: `libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb'

100%[======================================>] 40,076 --.-K/s in 0.01s

2011-10-29 11:09:47 (3.97 MB/s) - `libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb' saved [40076/40076]

--2011-10-29 11:09:47-- https://launchpadlibrarian.net/26959922/libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb
Reusing existing connection to launchpadlibrarian.net:443.
HTTP request sent, awaiting response... 200 OK
Length: 47798 (47K) [application/x-debian-package]
Saving to: `libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb'

100%[======================================>] 47,798 114K/s in 0.4s

2011-10-29 11:09:48 (114 KB/s) - `libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb' saved [47798/47798]

--2011-10-29 11:09:48-- https://launchpadlibrarian.net/26959918/libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb
Reusing existing connection to launchpadlibrarian.net:443.
HTTP request sent, awaiting response... 200 OK
Length: 57876 (57K) [application/x-debian-package]
Saving to: `libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb'

100%[======================================>] 57,876 287K/s in 0.2s

2011-10-29 11:09:48 (287 KB/s) - `libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb' saved [57876/57876]

--2011-10-29 11:09:48-- https://launchpadlibrarian.net/26959916/libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb
Reusing existing connection to launchpadlibrarian.net:443.
HTTP request sent, awaiting response... 200 OK
Length: 60514 (59K) [application/x-debian-package]
Saving to: `libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb'

100%[======================================>] 60,514 294K/s in 0.2s

2011-10-29 11:09:48 (294 KB/s) - `libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb' saved [60514/60514]

--2011-10-29 11:09:48-- https://launchpadlibrarian.net/26959928/libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb
Reusing existing connection to launchpadlibrarian.net:443.
HTTP request sent, awaiting response... 200 OK
Length: 543868 (531K) [application/x-debian-package]
Saving to: `libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb'

100%[======================================>] 543,868 233K/s in 2.3s

2011-10-29 11:09:51 (233 KB/s) - `libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb' saved [543868/543868]

--2011-10-29 11:09:51-- https://launchpadlibrarian.net/34165098/libicu40_4.0.1-2ubuntu2_i386.deb
Reusing existing connection to launchpadlibrarian.net:443.
HTTP request sent, awaiting response... 200 OK
Length: 6978728 (6.7M) [application/x-debian-package]
Saving to: `libicu40_4.0.1-2ubuntu2_i386.deb'

100%[======================================>] 6,978,728 672K/s in 14s

2011-10-29 11:10:04 (502 KB/s) - `libicu40_4.0.1-2ubuntu2_i386.deb' saved [6978728/6978728]

FINISHED --2011-10-29 11:10:04--
Downloaded: 7 files, 7.4M in 17s (447 KB/s)
riddle@riddle-laptop:~/old_boost$ sudo dpkg -i *.deb
[sudo] password for riddle:
Sorry, try again.
[sudo] password for riddle:
Selecting previously deselected package libboost-date-time1.34.1.
(Reading database ... 243795 files and directories currently installed.)
Unpacking libboost-date-time1.34.1 (from libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb) ...
Selecting previously deselected package libboost-filesystem1.34.1.
Unpacking libboost-filesystem1.34.1 (from libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb) ...
Selecting previously deselected package libboost-iostreams1.34.1.
Unpacking libboost-iostreams1.34.1 (from libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb) ...
Selecting previously deselected package libboost-regex1.34.1.
Unpacking libboost-regex1.34.1 (from libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb) ...
Selecting previously deselected package libboost-signals1.34.1.
Unpacking libboost-signals1.34.1 (from libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb) ...
Selecting previously deselected package libboost-thread1.34.1.
Unpacking libboost-thread1.34.1 (from libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb) ...
Selecting previously deselected package libicu40.
Unpacking libicu40 (from libicu40_4.0.1-2ubuntu2_i386.deb) ...
Setting up libboost-date-time1.34.1 (1.34.1-16ubuntu1) ...
Setting up libboost-filesystem1.34.1 (1.34.1-16ubuntu1) ...
Setting up libboost-iostreams1.34.1 (1.34.1-16ubuntu1) ...
Setting up libboost-signals1.34.1 (1.34.1-16ubuntu1) ...
Setting up libboost-thread1.34.1 (1.34.1-16ubuntu1) ...
Setting up libicu40 (4.0.1-2ubuntu2) ...
Setting up libboost-regex1.34.1 (1.34.1-16ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
riddle@riddle-laptop:~/old_boost$ $ cd ~/Downloads
$: command not found
riddle@riddle-laptop:~/old_boost$ $ sudo apt-get install amazonmp3 libglademm-2.4-1c2a
$: command not found
riddle@riddle-laptop:~/old_boost$ cd ~/Dowloads
bash: cd: /home/riddle/Dowloads: No such file or directory
riddle@riddle-laptop:~/old_boost$ cd ~/Downloads
riddle@riddle-laptop:~/Downloads$ sudo apt-get install amazonmp3 libglademm-2.4-1c2a
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package amazonmp3
riddle@riddle-laptop:~/Downloads$

Revision history for this message
steven riddle (mercysmiles-gmail) said :
#5

Thanks mycae, that solved my question.

Revision history for this message
Matthew Lents (lents-matt) said :
#6

Hey- I just solved this for myself in Ubuntu 11.10 and thought I'd say how. (Though it may be obvious)

downloaded and installed these three items from software center:

1 - Devolopment Files and Documentation for Libcurl (OpenSSL)
-with all recommended add-ons

2 - libexpat1-dev
-with all recommended add-ons

3 - libgcrypt11-dev
-with all recommended add-ons

Then I downloaded Clamz from this site:

http://code.google.com/p/clamz/downloads/detail?name=clamz-0.5.tar.gz&can=2&q=

After downloading, I moved the file from my downloads to my home folder.

Then I opened Terminal (CTRL ALT T) and ran these commands:

tar xfvz clamz-0.5.tar.gz

cd clamz-0.5

./configure

make

sudo make install

Now it's up and works like a charm!