I am installing the latest FFmpeg from this guide:
In some places it suggests performing make install
without sudo, here is a single example of several:
cd ~/ffmpeg_sources
wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjvf last_x264.tar.bz2
cd x264-snapshot*
PATH="$PATH:$HOME/bin" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static --disable-openclcd ~/ffmpeg_sources
wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjvf last_x264.tar.bz2
cd x264-snapshot*
PATH="$PATH:$HOME/bin" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static --disable-opencl
PATH="$PATH:$HOME/bin" make
make install
make distclean
Should I being using sudo make install
instead ?
My intention is to make the packages available for all users, including Apache/PHP.
--prefix
clauses altogether, if my intention is to make the package available for all? – dotancohen Sep 15 '14 at 07:59/lib
). – Uwe Plonus Sep 15 '14 at 08:00/usr/local/lib
, by default. It may also be a good idea to install into a separate directory using theDESTDIR
variable and use a tool like GNU Stow to manage a symlink tree in/usr/local
. – Simon Richter Sep 16 '14 at 06:04