Difference between revisions of "UnixCompile"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
To remove files created during the compile (optional) type:
 
To remove files created during the compile (optional) type:
 
  make clean
 
  make clean
 +
 +
== 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 ;-)
 +
* [http://packages.debian.org/unstable/libdevel/libavcodec-dev libavcodec-dev]
 +
* [http://packages.debian.org/unstable/libdevel/libpostproc-dev libpostproc-dev]
 +
* [http://packages.debian.org/unstable/libdevel/libmpeg2-4-dev libmpeg2-4-dev]

Revision as of 16:28, 2 November 2006

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

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 ;-)