HOWTO - Install VLC VideoLan on CentOS system

From wiki.morphey.org

Jump to: navigation, search

Unlike the version for windows that has everything included for linux, VLC, needs numerous bookstores among which those that it exploits Mplyaer and gxine. We can install the all (excluded the codecs) through the DAG reposity for yum.

We first of all add to the file /etc/yum.conf the reposity DAG:

 
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
 

gpgcheck=1 is already planned to 1: in case he is wanted to directly care the KEY through rpm, to go on the site of DAG and to care the KEY.

Get the codec package and compile/install it:

Note: The last version of the codecses you can find her to the address: http://www.mplayerhq.hu/design7/dload.html


 
cd /usr/src
wget http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2
bunzip2 MPlayer-1.0rc2.tar.bz2
tar xvf MPlayer-1.0rc2.tar
cd MPlayer-1.0rc2
./configure
make
make install
cd ..
 

At the end (it will ask for a few minutes), you perform yum to install mplayer and gxine:

 
yum install mplayer* gxine
 

We proceed to the download of VLC source code from the site: Note: in this installation we avoid the use of some not necessary functions of base for standard installations (for example: ffmpeg and skins).

 
cd /usr/src
wget http://download.videolan.org/pub/videolan/vlc/0.8.6c/vlc-0.8.6c.tar.gz
tar zxvf vlc-0.8.6c.tar.gz
cd vlc-0.8.6c
./configure --disable-mad --enable-ffmpeg=no --disable-libmpeg2 --disable-wxwidgets --disable-skins2
make
make install
 

The installation is ended: we can find vlc in /usr/local/bin/vlc

Personal tools