Skip to main content

How-To: Compile and Install Latest VLC in Debian Lenny

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:
$ apt-get install build-essential
$ apt-get install libassa3.5-5-dev libv4l-ruby1.8 debhelper dh-buildinfo gettext quilt nasm yasm libxul-dev liba52-0.7.4-dev libaa1-dev libasound2-dev libcaca-dev libcdio-dev libdca-dev libdvbpsi4-dev libaudiofile-dev libavahi-client-dev libavcodec-dev libdvdnav-dev libdvdread-dev libesd0-dev libfaad-dev libflac-dev libfreetype6-dev libfribidi-dev libggi2-dev libgl1-mesa-dev libglib2.0-0 libgnutls-dev libhal-dev libid3tag0-dev libidl0 libimlib2-dev libjack-dev liblircclient-dev liblivemedia-dev liblua5.1-0-dev libmad0-dev libmatroska-dev libmodplug-dev libmpcdec-dev libmpeg2-4-dev libncursesw5-dev libnotify-dev libogg-dev libpng12-dev libpostproc-dev libpulse-dev libqt4-dev libschroedinger-dev libsdl-image1.2-dev libsdl1.2-dev libvcdinfo-dev libvorbis-dev libx11-dev libx264-dev libxext-dev libxml2-dev libxpm-dev libxt-dev libxv-dev pkg-config qt4-dev-tools zlib1g-dev
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.


2. 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:
$ ln -s /usr/lib/libGL.so.173.14.09 /usr/lib/libGL.so
3. 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
$ sudo make install
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.


5. Finally, run ldconfig as root:
$ sudo 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
$ sudo make install
Just make sure to replace USER with your username and include /home/USER/usr/bin in your $PATH variable.

Comments

à´•ൊà´³്à´³ാം à´¦ിà´ªിà´¨്‍. നല്à´² വര്‍à´•്à´•്.

Popular posts from this blog

How to install Skype on Ubuntu 10.04 Lucid Lynx

UPDATE: Skype has now been uploaded to the "partner" official Ubuntu 10.04 Lucid Lynx repository. See Install Skype in Ubuntu 10.04 Lucid Lynx from official partner repository Command Line way Get the package: For 32-bit $ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-32 For 64-bit $ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-64 You will need to install the following libraries. $ sudo apt-get install libqt4-dbus libqt4-network libqt4-xml libasound2 Now install skype(the file u just downloaded, may be named intrepid-ibex) $ sudo dpkg -i skype-XXXXXXXXXXXX.deb If you still get some dependency error then just type the command below $ sudo apt-get -f install this will install the dependencies and the skype. Non - Terminal Download the setup 32 -bit 64 -bit You will these packages: libqt4-dbus libqt4-network libqt4-xml . Goto Synaptic manager and install them. Now Launch the Skype install .deb file (just double click it) and follow the on screen prompts....

gtalx: Howto Gtalk in ubuntu ( google talk )

Did you fail to use " gtalk in ubuntu " ... Now you can chat and talk to your gmail buddies in ubuntu... 1. check for gtk2.0 and qt4 $ sudo apt-get install libgtk2.0-dev $ sudo apt-get install libqt4-dev libogg-dev libtheora-dev $ sudo apt-get install libsdl-dev libavcodec-dev libswscale-dev $ sudo apt-get install libexpat-dev libraw1394-dev libvorbis-dev $ sudo apt-get install libgsm1-dev  libspeexdsp-dev libmediastreamer0-dev libortp-dev 2. Remove 'pulse audio sound server' Open synaptic package manager and remove pulse audio 3. "Download gtalx" from here Dowload it here 4. Extract the file.... $ tar -zxvf 0.0.4.tar.gz 5. Get into the directory.... $ cd 0.0.4 and then... $ sudo chmod u+x make $ ./make $ sudo ./make install 6. Enjoy..... Please comment about your installation(whether it was a success or not....) Take gtalx from Applications > Internet > gtalx Enter your gmail login information..and click connect... ...

How to install Skype on Ubuntu 9.10 Karmic Koala

The two methods  below doesn't work now. Please see http://blog.dipinkrishna.info/2009/11/how-to-download-and-install-skype-for_3060.html for a successfull installation of skype on ubuntu. I have provided two methods. Please do comment which one is successful. Follow these steps to install skype in ubuntu 9.10 (64 bit).         First add:             deb http://packages.medibuntu.org/ karmic free non-free         to your source.list Now open a terminal and type: $ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list Then do an update: $ sudo apt-get update $ sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring $ sudo apt-get -q update And finally install Skype. $ sudo apt-get install skype Ready ... now start skype with $ skype OR Download the setup 32 -bit 64 -bit Launch the Skype i...