UnixCompile

From VideoLAN Wiki
Revision as of 16:25, 14 January 2007 by H2g2bob (talk | contribs) (→‎See also)
Jump to navigation Jump to search

Download source code and extract the archive and go into your VLC directory

cd /path/to/your/vlc/folder/

As with most compilations, you need to run ./configure to get information about your computer, so it can be compiled correctly.

./configure

If you want to install VLC into another directory, run

./configure --prefix=/path/to/install/folder/

Compile VLC:

make

As root (type "su" to change to root account):

make install

To remove files created during the compile (optional) type:

make clean

SVN

If you download code using SVN, then you need to additionally call

./bootstrap

before ./configure.

Notes

Cygwin

Compiling on Cygwin may be broken. It's possibly better to use 0.8.4a.

Debian

Debian users who want to compile VLC should install the packages below. Note: if you just want to use VLC media player then simply install the package vlc (apt-get install vlc) - the unstable version is normally very up-to-date (and stable is, er, stable ;-)

See also