From DreamHost
Jump to: navigation, search

LAME is a free software application used to encode audio into the MP3 file format.


Note2 icon.png Note: Replace username with your username

wget //wget path_of_lame

tar -xvvzf  lame-3.98b8.tar.gz //extracts the lame

cd ~/lame-3.98b8 //goto lame folder

./configure --exec-prefix=/home/username/lame --prefix=/home/username/lame


make install

After the above step Export the variables using following commands:

export TMPDIR=$HOME/tmp
export PATH=$HOME/lame/bin:$PATH
export LD_LIBRARY_PATH=$HOME/lame/lib:/usr/local/lib:$LD_LIBRARY_PATH
export CPATH=$HOME/lame/include:/usr/local/include:$CPATH
export LIBRARY_PATH=$HOME/lame/lib:/usr/local/lib:$LIBRARY_PATH

Now you are ready to run LAME using 'lame' command.

Note2 icon.png Note: You have to Export the variables for each of your login session to enable 'lame' command to work.

External link