1

For the first time in 7 years I see that there is a new, major release for the lame mp3 encoder, with lame 3.100 coming out on October 13th 2017.

There is an impressive list of bugfixes which I would like to have access to. How can I safely install this very newest version of lame on my Xenial Xerus 16.04 LTS system?

2
2

The safest method that I have found that for the most part will not interfere with any system installation is to take a page from the FFmpeg trac site and install a local copy of lame.

The following single command gave me a working executable of the latest lame, safely installed in $HOME/bin:

mkdir -v $HOME/{lame_build,bin} && cd $HOME/lame_build && \
sudo apt-get install nasm build-essential && \
wget https://downloads.sourceforge.net/lame/lame-3.100.tar.gz && \
tar xvf lame-3.100.tar.gz && cd lame-3.100 && \
PATH="$HOME/bin:$PATH" \
./configure \
       --prefix="$HOME/lame_build" \
       --bindir=$HOME/bin \
       --enable-static \
       --disable-shared \
       --enable-nasm  && \
PATH="$HOME/bin:$PATH" make && \
make install

The detritus can then be removed with the following command:

rm -rfv $HOME/lame_build

The following now shows on my system:

andrew@corinth:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:   xenial
andrew@corinth:~$ lame --version | head -n 1
LAME 64bits version 3.100 (http://lame.sf.net)
andrew@corinth:~$ 

And all is well :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.