<HTML ><HEAD ><TITLE > Install VLC </TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="VideoLAN HOWTO" HREF="index.html"><LINK REL="UP" TITLE=" Install the required software and hardware " HREF="install.html"><LINK REL="PREVIOUS" TITLE=" Install the required software and hardware " HREF="install.html"><LINK REL="NEXT" TITLE=" Install VLS " HREF="x457.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" >VideoLAN HOWTO</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 2. Install the required software and hardware</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x457.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="AEN282" ></A >2.1. Install VLC</H1 ><P > 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="AEN285" ></A >2.1.1. Windows</H2 ><P > 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="AEN290" ></A >2.1.2. BeOS</H2 ><P > 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="AEN294" ></A >2.1.3. Mac OS X</H2 ><P > 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="AEN299" ></A >2.1.4. Debian GNU/Linux</H2 ><DIV CLASS="simplesect" ><H3 CLASS="simplesect" ><A NAME="AEN301" ></A >2.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" > 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 > Then, for a normal install, do: </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <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="AEN312" ></A >2.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" > 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 > Then, for a normal install, do: </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <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="AEN323" ></A >2.1.4.3. Debian testing (sarge)</H3 ><P > 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="AEN327" ></A >2.1.5. Linux Mandrake</H2 ><P > There are VLC packages for Mandrake 9.1 and cooker. </P ><P > 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 > 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" > <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="AEN339" ></A >2.1.6. Linux Redhat</H2 ><P > 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" > <TT CLASS="prompt" ># </TT ><TT CLASS="userinput" ><B >rpm -U *.rpm</B ></TT > </PRE ></FONT ></TD ></TR ></TABLE ><P > 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="AEN350" ></A >2.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="AEN354" ></A >2.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 > & <EM >libvorbis</EM > if you want to read Ogg Vorbis files .</P ></LI ></UL ><P > Download the libraries from the <A HREF="http://www.videolan.org/vlc/download-sources.html" TARGET="_top" >VLC sources download page</A >. </P ><P > For each library : </P ><P ></P ><UL ><LI ><P > uncompress : </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <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" > <TT CLASS="prompt" >% </TT ><TT CLASS="userinput" ><B >tar xvjf library.tar.bz2</B ></TT > </PRE ></FONT ></TD ></TR ></TABLE ></LI ><LI ><P > configure : </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <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 > compile and install : </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <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 > 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" > /usr/local/lib </PRE ></FONT ></TD ></TR ></TABLE ><P > 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" > <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="AEN416" ></A >2.1.7.2. Install VLC</H3 ><P > 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" > <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 > To get the list of configuration options, do : </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <TT CLASS="prompt" >% </TT ><TT CLASS="userinput" ><B >./configure --help</B ></TT > </PRE ></FONT ></TD ></TR ></TABLE ><P > 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 > Examples of very simple configurations: </P ><P ></P ><UL ><LI ><P > if you want a basic VLC, do : </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <TT CLASS="prompt" >% </TT ><TT CLASS="userinput" ><B >./configure</B ></TT > </PRE ></FONT ></TD ></TR ></TABLE ></LI ><LI ><P > 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" > <TT CLASS="prompt" >% </TT ><TT CLASS="userinput" ><B >./configure --enable-gnome</B ></TT > </PRE ></FONT ></TD ></TR ></TABLE ></LI ></UL ><P > Then, compile and install : </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <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 > 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="x457.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Install the required software and hardware</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="install.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Install VLS</TD ></TR ></TABLE ></DIV ></BODY ></HTML >