Difference between revisions of "UnixCompile"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Download source code and extract the archive and go into your VLC directory
 
Download source code and extract the archive and go into your VLC directory
<code>
 
 
  cd /path/to/your/vlc/folder/
 
  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
+
  ./[[configure]]
 
If you want to install VLC into another directory, run
 
If you want to install VLC into another directory, run
 
  ./configure --prefix=/path/to/install/folder/
 
  ./configure --prefix=/path/to/install/folder/
Line 10: Line 9:
  
 
As root (type "su" to change to root account):
 
As root (type "su" to change to root account):
  make install
+
  [[make]] install
  
 
To remove files created during the compile (optional) type:
 
To remove files created during the compile (optional) type:
 
  make clean
 
  make clean

Revision as of 23:46, 27 June 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