1

How do I install LAME on a RedHat server... i tried

yum install lame lame-mp3x 
No package lame available.
No package lame-mp3x available.
acctman
  • 214
  • 1
  • 5
  • 11

3 Answers3

5
  1. make sure you have the tools necessary to build from source:

    yum update

    yum install gcc gcc-c++ automake autoconf libtool yasm nasm git subversion

  2. Get the tarball for version you want here: http://sourceforge.net/projects/lame/files/lame/

  3. upload the tarball somewhere on your server
  4. cd /path/to/lame-3.99.5 (or whatever version you downloaded)
  5. ./configure
  6. make && make install
  7. ldconfig
3

This is related to the problem I hinted at in my answer to your other question: lame uses algorithms covered by patent, and you may not be able to use it legally for what you're planning to do without paying licensing fees. See here for a bit more, and also this big list of mp3 patents.

For this reason, Red Hat, as a US-based company, can't really provide it for you. Your best bet is to either build it from source or to get it from a non-US third-party repository, keeping in mind that your use is probably not legal no matter where you get the software. (Is it possible for your application to use a different, unencumbered audio compression technology?)

mattdm
  • 6,600
  • 1
  • 26
  • 48
0

i was able to get it to install with

wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz

acctman
  • 214
  • 1
  • 5
  • 11