Howto Install the "lame" mp3 ripper on Debian Linux

Posted by ryan
at 3:33 PM on Sunday, September 25, 2005



I recently bought a new CD (can’t tell you the last time I did that was…) and was trying to rip it onto my Debian linux machine use “grip”. Long story short, I couldn’t figure out to install a proper mp3 ripping library – the two I know of being mp3encode and lame. Grip kept giving me “Invalid encoder executable Check your encoder config” errors on the encode step. What I eventually figured out was that neither of them have a debian package anymore (due to mp3 license issues?) – so you have to compile it on your machine if you want it.

I chose to install the lame library since that’s what I first ran across. Here’s how I went about that:

  1. Download the source tar from: http://lame.sourceforge.net/download/download.html
  2. Extract the source: tar -xvzf lame-3.X.tar.gz
  3. Change into the lame dir: cd lame-3.X
  4. Compile and install: ./configure && make && make install
And there you have it. After this you should have a “lame” executable in /usr/local/bin/lame that you can now reference in your mp3 ripper – such as Grip or RipperX.

If anybody knows how to do the equivalent for mp3encode, definitely let me know.

Comments

Leave a response

  1. JoshMay 10, 2006 @ 05:04 PM
    Instead of building from source you can add "unofficial apt sources":http://debian.video.free.fr/ which include all sorts of neat things like lame, mplayer and dvdrip, though it doesn't have mp3encode. What is mp3encode?
  2. Ryan DaigleMay 13, 2006 @ 03:19 AM
    No problem, glad it was of some use to you.
  3. dutchMay 13, 2006 @ 03:19 AM
    Thanks for the help. Didn't even have to look far...
  4. Ryan DaigleMay 24, 2006 @ 10:16 AM
    Translate away, kamihacker! I have no problems at all and appreciate your efforts.
  5. kamihackerMay 24, 2006 @ 10:16 AM
    I plan to put on a blog shortly do you have any issues if I translate your article to spanish and link you from there with credits? regards Carlos
  6. criscabelloSeptember 01, 2006 @ 02:49 PM
    hi, your tuto help me very much! without any problems, following step by step... tank you!
  7. JoshJune 14, 2007 @ 12:39 AM

    There are also deb packages available, which can be installed like so:

    dpkg -i lame_3.97-0rarewares1_i386.deb

    Of course, the name of the file you downloaded may not match the one above. Note you must run the command as superuser for the installation to succeed.

  8. meMay 11, 2008 @ 04:04 PM

    I love this sort of stuff : dpkg -i lame_3.97-0rarewares1_i386.deb you can install any kind of trojan or virus just by one line of code.

    ps: be clever check your sources & cook for yourself … you never know who will put poison in you sandwich.