Difference between revisions of "Documentation:Installing VLC"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 21: Line 21:
  
 
Add the following lines to your '''/etc/apt/sources.list''':
 
Add the following lines to your '''/etc/apt/sources.list''':
<pre>
+
deb http://download.videolan.org/pub/videolan/debian stable main
    deb http://download.videolan.org/pub/videolan/debian stable main
+
deb-src http://download.videolan.org/pub/videolan/debian stable main
    deb-src http://download.videolan.org/pub/videolan/debian stable main
 
</pre>
 
  
 
Then, for a normal install, do:
 
Then, for a normal install, do:
  
<screen>
+
# '''apt-get update'''
<prompt># </prompt><userinput>apt-get update</userinput>
+
# '''apt-get install vlc libdvdcss2'''
<prompt># </prompt><userinput>apt-get install vlc libdvdcss2</userinput>
 
</screen>
 
  
 
====Debian testing (etch)====
 
====Debian testing (etch)====
Line 43: Line 39:
 
Add the following lines to your '''/etc/apt/sources.list''':
 
Add the following lines to your '''/etc/apt/sources.list''':
  
<pre>
+
deb http://download.videolan.org/pub/videolan/debian sid main
    deb http://download.videolan.org/pub/videolan/debian sid main
+
deb-src http://download.videolan.org/pub/videolan/debian sid main
    deb-src http://download.videolan.org/pub/videolan/debian sid main
 
</pre>
 
  
 
Then, for a normal install, do:
 
Then, for a normal install, do:
  
<screen>
+
# '''apt-get update'''
<prompt># </prompt><userinput>apt-get update</userinput>
+
# '''apt-get install vlc libdvdcss2'''
<prompt># </prompt><userinput>apt-get install vlc libdvdcss2</userinput>
 
</screen>
 
  
 
===Linux Mandrake===
 
===Linux Mandrake===
Line 63: Line 55:
 
Then install the required packages with '''urpmi''':
 
Then install the required packages with '''urpmi''':
  
<screen>
+
# '''urpmi libdvdcss2 libdvdplay0 wxvlc vlc-plugin-a52 vlc-plugin-ogg vlc-plugin-mad'''
<prompt># </prompt><userinput>urpmi libdvdcss2 libdvdplay0 wxvlc vlc-plugin-a52 vlc-plugin-ogg vlc-plugin-mad</userinput>
 
</screen>
 
  
 
===Linux Redhat===
 
===Linux Redhat===
Line 73: Line 63:
 
Then install the RPM packages you have downloaded:
 
Then install the RPM packages you have downloaded:
  
<screen>
+
# '''rpm -U *.rpm'''
<prompt># </prompt><userinput>rpm -U *.rpm</userinput>
 
</screen>
 
  
 
If you have not installed all the RPM packages included with your distribution, you may be asked to install a few of them first.
 
If you have not installed all the RPM packages included with your distribution, you may be asked to install a few of them first.
Line 101: Line 89:
 
Remove the packages that you installed:
 
Remove the packages that you installed:
  
<screen>
+
# '''apt-get remove --purge vlc libdvdcss2'''
<prompt># </prompt><userinput>apt-get remove --purge vlc libdvdcss2</userinput>
 
</screen>
 
  
 
===GNU/Linux Redhat, Mandrake and SuSE===
 
===GNU/Linux Redhat, Mandrake and SuSE===
Line 109: Line 95:
 
Uninstall the RPM packages that you installed:
 
Uninstall the RPM packages that you installed:
  
<screen>
+
# '''rpm -e vlc-version vlc-mad-version wxvlc-version libdvdcss2-version libdvdpsi1-version'''
<prompt># </prompt><userinput>rpm -e vlc-version vlc-mad-version wxvlc-version
 
libdvdcss2-version libdvdpsi1-version</userinput>
 
</screen>
 
  
 
===If you compiled VLC from sources===
 
===If you compiled VLC from sources===
  
 
Go to the directory containing VLC sources and execute
 
Go to the directory containing VLC sources and execute
<screen>
+
 
<prompt># </prompt><userinput>make uninstall</userinput>
+
# '''make uninstall'''
</screen>
 
  
 
You can then remove the VLC sources.
 
You can then remove the VLC sources.
  
 
{{Documentation}}
 
{{Documentation}}

Revision as of 01:45, 7 November 2006

Installing VLC

There are VLC binaries available for the many OSes, but not for all supported ones. If there are no binaries for your OS or if you want to change the default settings, you can compile VLC from sources.

Windows

VLC works under Windows 95/98/ME/2000/XP. Download the self-extracting package from the VLC Windows download page. Launch the .exe to install VLC.

Mac OS X

Download the Mac OS X package from the VLC MacOS X download page. 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 /Applications).

BeOS

Download the Zip file from the VLC BeOS download page. Unzip the file in a directory to install VLC.

Debian GNU/Linux

Debian stable (sarge)

Add the following lines to your /etc/apt/sources.list:

deb http://download.videolan.org/pub/videolan/debian stable main
deb-src http://download.videolan.org/pub/videolan/debian stable main

Then, for a normal install, do:

# apt-get update
# apt-get install vlc libdvdcss2

Debian testing (etch)

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: testing page.

Debian unstable (sid)

Add the following lines to your /etc/apt/sources.list:

deb http://download.videolan.org/pub/videolan/debian sid main
deb-src http://download.videolan.org/pub/videolan/debian sid main

Then, for a normal install, do:

# apt-get update
# apt-get install vlc libdvdcss2

Linux Mandrake

There are VLC packages for Mandrake 9.1 and cooker.

To install them, add the following sources for either Mandrake 9.1 or Cooker (you can use Easy urpmi for that): contrib from the core distribution and plf (Penguin Liberation Front) from the external add-ons.

Then install the required packages with urpmi:

# urpmi libdvdcss2 libdvdplay0 wxvlc vlc-plugin-a52 vlc-plugin-ogg vlc-plugin-mad

Linux Redhat

Download the RPM package vlc and the packages listed in the required libraries and codecs section (the other packages are optional) from the VLC Red Hat download page and put them all into the same directory.

Then install the RPM packages you have downloaded:

# rpm -U *.rpm

If you have not installed all the RPM packages included with your distribution, you may be asked to install a few of them first.

Compile the sources by yourself (for every other OS)

For more detailed information on compiling VLC by yourself, please have a look at the documentation on our developers website.

Uninstalling VLC

Windows

Click on the Uninstall VLC icon that was created during installation.

Mac OS X

Drag the VLC application to your trash can. You can also remove the configuration file and the cache files in ~/Library/Preferences/VLC/. There is an AppleScript on the disk-image which lets you do this automatically.

BeOS

Delete the vlc-version directory. You can also remove the configuration file /boot/home/config/settings/vlcrc.

Debian GNU/Linux

Remove the packages that you installed:

# apt-get remove --purge vlc libdvdcss2

GNU/Linux Redhat, Mandrake and SuSE

Uninstall the RPM packages that you installed:

# rpm -e vlc-version vlc-mad-version wxvlc-version libdvdcss2-version libdvdpsi1-version

If you compiled VLC from sources

Go to the directory containing VLC sources and execute

# make uninstall

You can then remove the VLC sources.

This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.