Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
This tutorial will show how to compile and install the latest VLC from source in Debian Lenny in several steps. The current version at the time of writing is VLC 1.0.1, so the tutorial should work successfully for it.
This tutorial will show how to compile and install the latest VLC from source in Debian Lenny in several steps. The current version at the time of writing is VLC 1.0.1, so the tutorial should work successfully for it.
1. Install the development packages
As root, type the following two commands:
The first one will install the meta package build-essential, which depends on compilation tools, while the latter will install development libraries needed to compile VLC.
3. Make a symbolic link in /usr/lib
Make a symbolic link in /usr/lib/ which will point to the libGL library. This may depend on which driver you have installed. You may not need to do this step. For example, I used here:
2. Download the source code
Download the VLC source tarball from the official website (direct link here) and uncompress it:
tar -xjf vlc-1.0.1.tar.bz2
4. Compile and install
Now make sure the current working directory is vlc-1.0.1 and issue the following commands:
./configure --disable-nls --disable-mozilla --disable-live555
make
make install
The last command as root. Without the switches --disable-nls and --disable-mozilla I got the error configure: error: Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable work-around for this. so I had to disable them.
Finally, run ldconfig as root:
ldconfig
This should be all. Run VLC by typing vlc in a terminal or hitting Alt+F2 and typing vlc in the run box that appears.
You can also install as normal user by changing the installation prefix, e.g.:
./configure --prefix=/home/USER/usr --disable-nls --disable-mozilla --disable-live555
make
make install
Just make sure to replace USER with your username and include /home/USER/usr/bin in your $PATH variable.
I have to add repository in order to install bunch of these development libs.
http://debian-multimedia.org/
Maybe you should write it in the beginning of the article.
Cool. I never heard of checkinstall before. I install quite a few things from source so this will come in handy.
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help