INSTALL 1.27 KB
Newer Older
1 2 3 4 5 6
INSTALL file for vlc, the VideoLAN Client


Building VideoLAN
=================

Sam Hocevar's avatar
Sam Hocevar committed
7
A typical way to configure vlc is:
8

Sam Hocevar's avatar
Sam Hocevar committed
9
   ./configure --prefix=/usr --enable-gnome --with-sdl
10 11 12

See `./configure --help' for more information.

Sam Hocevar's avatar
Sam Hocevar committed
13
Then, run `make' to build vlc.
14

Sam Hocevar's avatar
Sam Hocevar committed
15
Here is a shortcut to copy-paste for a complete build:
Sam Hocevar's avatar
Sam Hocevar committed
16 17 18

   make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \
      --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
Sam Hocevar's avatar
Sam Hocevar committed
19 20
      --enable-alsa --enable-mga --enable-gtk --enable-qt --enable-xvideo \
   && make
Sam Hocevar's avatar
Sam Hocevar committed
21 22 23 24 25

If you intend to debug stuff, you may want to disable optimizations:

   make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \
      --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
Sam Hocevar's avatar
Sam Hocevar committed
26
      --enable-alsa --enable-mga --enable-gtk --enable-qt --enable-xvideo \
Sam Hocevar's avatar
Sam Hocevar committed
27
      --disable-optimizatons && make
Sam Hocevar's avatar
Sam Hocevar committed
28 29


30 31 32
Installing and running VideoLAN
===============================

Sam Hocevar's avatar
Sam Hocevar committed
33
You can install the vlc and its plugins by typing:
34 35 36

   make install

Sam Hocevar's avatar
Sam Hocevar committed
37 38
But you don't need to install it if you don't want to; vlc can be launched
from the current directory as well:
39 40 41

   ./vlc

Sam Hocevar's avatar
Sam Hocevar committed
42 43 44 45 46 47 48 49 50 51 52 53 54

Building packages
=================

To build a Debian package, you may use:

   dpkg-buildpackage -rfakeroot -us -uc


To build RedHat packages, use:

   rpm -ba vlc.spec