登录root用户
[root@localhost /]# su -
#cd /etc/yum.repos.d/
#wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo
安装VLC
#yum --enablerepo=linuxtech-testing install vlc
如果testing里面的资源不好使,可以换成如下:
#yum install vlc
然后再安装一些解码包:
#yum install ffmpeg ffmpeg-devel mplayer mencoder flvtool2 yamdi
http://blog.csdn.net/zhengguo38/article/details/79021295
RHEL/CentOS/SL 6
Use RPM Fusion for EL6. Available for i686 and x86_64.
This repository uses EPEL. Please verify to enable the "optionals" channel for RHN subscriptions.
The vlc-2.0x branch is provided for EL6
Install rpmfusion-free-release-stable.noarch.rpm for EL6.
$> su - #> yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm #> yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm #> yum install vlc #> yum install vlc-core (for minimal headless/server install) #> yum install python-vlc npapi-vlc (optionals)