LDP/LDP/ref/docbook/VideoLAN-Quickstart/install-vls.sgml

135 lines
3.3 KiB
Plaintext

<para>Full-featured VLS is currently only available for
Linux. VLS can also be built on computers running Mac OS
X, and is <emphasis>not</emphasis> available for
Windows any more. Please visit the <ulink
url="http://www/videolan.org/streaming/features.html">streaming features
page</ulink> for more information.</para>
<simplesect><title>Install the librairies</title>
<para>
Many librairies are needed for particular uses :
</para>
<itemizedlist>
<listitem><para><emphasis>libdvbpsi</emphasis> (always needed)</para></listitem>
<listitem><para><emphasis>libdvdcss</emphasis> if you want to be able to access encrypted DVDs,</para></listitem>
<listitem><para><emphasis>libdvdread</emphasis> if you want to be able to stream DVDs,</para></listitem>
<listitem><para><emphasis>libdvb</emphasis> if you want to be able to stream from a DVB card (a satellite card or a digital terrestial TV card).</para></listitem>
</itemizedlist>
<para>
Download the libraries from the <ulink
url="http://www.videolan.org/streaming/download-vls-sources.html">VLS
sources download page</ulink>.
</para>
<para>For each library, uncompress, configure (unless
for <emphasis>libdvb</emphasis> which doesn't have a
<emphasis>./configure</emphasis>), compile and install :</para>
<para>
<screen>
<prompt>% </prompt><userinput>tar xvzf library.tar.gz</userinput>
<prompt>% </prompt><userinput>cd library</userinput>
<prompt>% </prompt><userinput>./configure --enable-shared</userinput>
<prompt>% </prompt><userinput>make</userinput>
<prompt># </prompt><userinput>make install</userinput>
</screen>
</para>
<para>
Check that the configuration file <filename>/etc/ld.so.conf</filename>
contains the following line :
</para>
<programlisting>
/usr/local/lib
</programlisting>
<para>If the line is not present, add-it and then run :</para>
<screen>
<prompt># </prompt><userinput>ldconfig</userinput>
</screen>
</simplesect>
<simplesect><title>Install VLS</title>
<para> Download the sources of the latest release : get the
file <filename>vls-version.tar.gz</filename> from the <ulink
url="http://www.videolan.org/streaming/download-vls-sources.html">VLS
sources download page</ulink>. Uncompress-it : </para>
<screen>
<prompt>% </prompt><userinput>tar xvzf vls-version.tar.gz</userinput>
<prompt>% </prompt><userinput>cd vls-version</userinput>
</screen>
<para>
To get the list of configuration options, do :
</para>
<screen>
<prompt>% </prompt><userinput>./configure --help</userinput>
</screen>
<para>
Then configure vls :
</para>
<itemizedlist>
<listitem><para>if you want a basic VLS without DVD support, do :
</para>
<screen>
<prompt>% </prompt><userinput>./configure --disable-dvd</userinput>
</screen>
</listitem>
<listitem><para>if you want a VLS with DVD support, do :
</para>
<screen>
<prompt>% </prompt><userinput>./configure</userinput>
</screen>
</listitem>
<listitem><para>if you want a VLS with DVB support, do :
</para>
<screen>
<prompt>% </prompt><userinput>./configure --enable-dvb</userinput>
</screen>
</listitem>
</itemizedlist>
<para>
Then, compile and install :
</para>
<screen>
<prompt>% </prompt><userinput>make</userinput>
<prompt># </prompt><userinput>make install</userinput>
</screen>
<para>
You can also do a <command>make uninstall</command>, <command>make
clean</command> or <command>make distclean</command> as needed.
</para>
</simplesect>