old-www/REF/VLC-User-Guide/x829.html

1055 lines
13 KiB
HTML

<HTML
><HEAD
><TITLE
>&#13;Installing VLC
</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="
VLC user guide
"
HREF="index.html"><LINK
REL="UP"
TITLE="
Installing VLC
"
HREF="install.html"><LINK
REL="PREVIOUS"
TITLE="
Installing VLC
"
HREF="install.html"><LINK
REL="NEXT"
TITLE="
Uninstalling VLC
"
HREF="x1004.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>VLC user guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="install.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 3. Installing VLC</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x1004.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN829"
></A
>3.1. Installing VLC</H1
><P
>&#13;
There are VLC binaries available for the many OSes, but not for
all supported OSes. If there are no binaries for your OS or if you want
to change the default settings, you can compile VLC from sources.
</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN832"
></A
>3.1.1. Windows</H2
><P
>&#13;
VLC works under Windows 95/98/ME/2000/XP.
Download the self-extracting file from the <A
HREF="http://www.videolan.org/vlc/download-windows.html"
TARGET="_top"
>VLC Windows
download page</A
>. Launch the <TT
CLASS="filename"
>.exe</TT
> to install
VLC.
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN837"
></A
>3.1.2. BeOS</H2
><P
>&#13;
Download the Zip file from the <A
HREF="http://www.videolan.org/vlc/download-beos.html"
TARGET="_top"
>VLC BeOS download
page</A
>. Unzip the file in a directory to install VLC.
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN841"
></A
>3.1.3. Mac OS X</H2
><P
>&#13;
Download the Mac OS X package from the <A
HREF="http://www.videolan.org/vlc/download-macosx.html"
TARGET="_top"
>VLC
MacOS X download page</A
> . Double-click on the icon of the
package : an icon will appear on your Desktop, right beside your
drive(s). Open it and drag the VLC application from the resulting
window to the place where you want to install it (it should be
<TT
CLASS="filename"
>/Applications</TT
>).
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN846"
></A
>3.1.4. Debian GNU/Linux</H2
><DIV
CLASS="simplesect"
><H3
CLASS="simplesect"
><A
NAME="AEN848"
></A
>3.1.4.1. Debian stable (woody)</H3
><P
>Add the following lines to your
<TT
CLASS="filename"
>/etc/apt/sources.list</TT
>:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;deb http://www.videolan.org/pub/videolan/debian $(ARCH)/
deb-src http://www.videolan.org/pub/videolan/debian sources/
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;Then, for a normal install, do:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>apt-get update</B
></TT
>
<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>apt-get install gnome-vlc libdvdcss2</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="simplesect"
><H3
CLASS="simplesect"
><A
NAME="AEN859"
></A
>3.1.4.2. Debian unstable (sid)</H3
><P
>Add the following lines to your
<TT
CLASS="filename"
>/etc/apt/sources.list</TT
>:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;deb http://www.videolan.org/pub/videolan/debian $(ARCH)/
deb-src http://www.videolan.org/pub/videolan/debian sources/
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;Then, for a normal install, do:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>apt-get update</B
></TT
>
<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>apt-get install wxvlc libdvdcss2</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="simplesect"
><H3
CLASS="simplesect"
><A
NAME="AEN870"
></A
>3.1.4.3. Debian testing (sarge)</H3
><P
>&#13;
You should not be using Debian testing unless you perfectly know
what you are doing. It is almost impossible to support Debian testing
and there are no plans to do it.
For more informations on Debian testing, please look:
<A
HREF="http://www.debian.org/devel/testing"
TARGET="_top"
>testing page</A
>
</P
></DIV
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN874"
></A
>3.1.5. Linux Mandrake</H2
><P
>&#13;
There are VLC packages for Mandrake 9.1 and cooker.
</P
><P
>&#13;
To install them, add the following
sources for either Mandrake 9.1 or Cooker (you can use <A
HREF="http://plf.zarb.org/~nanardon/"
TARGET="_top"
>Easy urpmi</A
> for that):
<EM
>contrib</EM
> from the core distribution and
<EM
>plf</EM
> (Penguin Liberation Front) from the external
add-ons.
</P
><P
>&#13;Then install the required packages with
<B
CLASS="command"
>urpmi</B
>:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>urpmi libdvdcss2 libdvdplay0 wxvlc vlc-plugin-a52 vlc-plugin-ogg vlc-plugin-mad</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN886"
></A
>3.1.6. Linux Redhat</H2
><P
>&#13;Download the RPM package <EM
>vlc</EM
> and the packages
listed in the <EM
>required libraries and codecs</EM
>
section (the other packages are just optional) from the <A
HREF="http://www.videolan.org/vlc/download-redhat.html"
TARGET="_top"
>VLC Red Hat
download page</A
> and put them all into the same directory.</P
><P
>Then install the RPM packages you have downloaded:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>rpm -U *.rpm</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;
If you have not installed all the RPM packages included with your
distribution, you may be asked to install a few of them first.
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN897"
></A
>3.1.7. Compile the sources by yourself (for every other OS)</H2
><P
>The method below is for any Unix system supported by VLC, for
which there is no packages available. It explains how to compile and
install VLC and the needed libraries from their source code.</P
><P
>You can also compile VLC under Linux this way if you want to
modify the default supported modules.</P
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN901"
></A
>3.1.7.1. Install the libraries</H3
><P
>Many libraries are needed :
</P
><P
></P
><UL
><LI
><P
><EM
>libdvbpsi</EM
>
(compulsory)
,</P
></LI
><LI
><P
><EM
>mpeg2dec</EM
>
(compulsory)
,</P
></LI
><LI
><P
><EM
>libdvdcss</EM
>
if you want to be able to read encrypted DVDs
,</P
></LI
><LI
><P
><EM
>libdvdplay</EM
>
if you want to have DVD menu navigation
,</P
></LI
><LI
><P
><EM
>a52dec</EM
>
if you want to be able to decode the AC3 (i.e. A52)
sound format often used in DVDs
,</P
></LI
><LI
><P
><EM
>ffmpeg</EM
>, <EM
>libmad</EM
>,
<EM
>faad2</EM
>
if you want to read MPEG 4 / DivX files
,</P
></LI
><LI
><P
><EM
>libogg</EM
> &#38;
<EM
>libvorbis</EM
>
if you want to read Ogg Vorbis files
.</P
></LI
></UL
><P
>&#13;Download the libraries from the <A
HREF="http://www.videolan.org/vlc/download-sources.html"
TARGET="_top"
>VLC sources
download page</A
>.
</P
><P
>&#13;For each library :
</P
><P
></P
><UL
><LI
><P
>&#13;uncompress :
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>tar xvzf library.tar.gz</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>or</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>tar xvjf library.tar.bz2</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></LI
><LI
><P
>&#13;configure :
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>cd library</B
></TT
>
<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>./configure</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></LI
><LI
><P
>&#13;compile and install :
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>make</B
></TT
>
<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>make install</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></LI
></UL
><P
>&#13;
Check that the configuration file <TT
CLASS="filename"
>/etc/ld.so.conf</TT
>
contains the following line :
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;/usr/local/lib
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;
If the line is not present, add-it and then run (as root):
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>ldconfig</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN963"
></A
>3.1.7.2. Install VLC</H3
><P
>&#13;
Download the sources of the lastest release : get the
file <TT
CLASS="filename"
>vlc-version.tar.gz</TT
> from the <A
HREF="http://www.videolan.org/vlc/download-sources.html"
TARGET="_top"
>VLC sources
download page</A
>. Uncompress-it :
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>tar xvzf vlc-version.tar.gz</B
></TT
>
<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>cd vlc-version</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;
To get the list of configuration options, do :
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>./configure --help</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;Please note that all the modules are described in
the <EM
>Modules</EM
> section of the <A
HREF="http://www.videolan.org/doc/vlc-user-guide/"
TARGET="_top"
>VLC User
Guide</A
>
.</P
><P
>&#13;Examples of very simple configurations:
</P
><P
></P
><UL
><LI
><P
>&#13;if you want a basic VLC, do
: </P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>./configure</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></LI
><LI
><P
>&#13;
if you want the Gnome interface instead of the GTK
interface (you will need the developement packages of Gnome) :
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>./configure --enable-gnome</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></LI
></UL
><P
>&#13;Then, compile and install :
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>make</B
></TT
>
<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>su</B
></TT
>
<TT
CLASS="prompt"
>Password: </TT
><TT
CLASS="userinput"
><B
> [Root Password]</B
></TT
>
<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>make install</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;
Please note that the installation (<B
CLASS="command"
>make install</B
>
command) is not mandatory. You can execute VLC from where you compiled
it.
</P
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="install.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x1004.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Installing VLC</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="install.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Uninstalling VLC</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>