INSTALL 1.48 KB
Newer Older
1 2 3
INSTALL file for vlc, the VideoLAN Client


Sam Hocevar's avatar
Sam Hocevar committed
4 5
Configuring VideoLAN
====================
6

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
Here is a shortcut to copy-paste for a complete build:
Sam Hocevar's avatar
Sam Hocevar committed
14

Sam Hocevar's avatar
Sam Hocevar committed
15
   make distclean && ./configure --prefix=/usr --enable-gnome \
Sam Hocevar's avatar
Sam Hocevar committed
16
      --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
Sam Hocevar's avatar
Sam Hocevar committed
17
      --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa
Sam Hocevar's avatar
Sam Hocevar committed
18 19 20

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

Sam Hocevar's avatar
Sam Hocevar committed
21
   make distclean && ./configure --prefix=/usr --enable-gnome \
Sam Hocevar's avatar
Sam Hocevar committed
22
      --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
Sam Hocevar's avatar
Sam Hocevar committed
23
      --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa \
Sam Hocevar's avatar
Sam Hocevar committed
24
      --enable-debug
Sam Hocevar's avatar
Sam Hocevar committed
25 26 27 28 29 30 31 32 33 34


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

Have a look at the generated Makefile.opts file, you may want to choose
which modules will be compiled as plugins, and which ones will remain in
the core application. The configure script tries to guess for you.

Once configured, run `make' to build vlc.
Sam Hocevar's avatar
Sam Hocevar committed
35 36


37 38 39
Installing and running VideoLAN
===============================

Sam Hocevar's avatar
Sam Hocevar committed
40
You can install the vlc and its plugins by typing:
41 42 43

   make install

Sam Hocevar's avatar
Sam Hocevar committed
44 45
But you don't need to install it if you don't want to; vlc can be launched
from the current directory as well:
46 47 48

   ./vlc

Sam Hocevar's avatar
Sam Hocevar committed
49 50 51 52 53 54 55 56 57 58 59 60 61

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

To build a Debian package, you may use:

   dpkg-buildpackage -rfakeroot -us -uc


To build RedHat packages, use:

   rpm -ba vlc.spec