Difference between revisions of "UnixCompile"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
./configure --prefix=/path/to/install/folder/ | ./configure --prefix=/path/to/install/folder/ | ||
Compile VLC: | Compile VLC: | ||
− | make | + | [[make]] |
As root (type "su" to change to root account): | As root (type "su" to change to root account): | ||
− | + | make install | |
To remove files created during the compile (optional) type: | To remove files created during the compile (optional) type: | ||
make clean | make clean | ||
− | == Debian == | + | == SVN == |
+ | If you download code using [[SVN]], then you need to additionally call | ||
+ | ./[[bootstrap]] | ||
+ | before ./configure. | ||
+ | |||
+ | == Notes == | ||
+ | === 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 ;-) | 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/libavcodec-dev libavcodec-dev] | ||
* [http://packages.debian.org/unstable/libdevel/libpostproc-dev libpostproc-dev] | * [http://packages.debian.org/unstable/libdevel/libpostproc-dev libpostproc-dev] | ||
* [http://packages.debian.org/unstable/libdevel/libmpeg2-4-dev libmpeg2-4-dev] | * [http://packages.debian.org/unstable/libdevel/libmpeg2-4-dev libmpeg2-4-dev] | ||
+ | |||
+ | == See also == | ||
+ | * http://developers.videolan.org/vlc/nix-compile.html |
Revision as of 16:48, 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
Contents
SVN
If you download code using SVN, then you need to additionally call
./bootstrap
before ./configure.
Notes
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 ;-)