登入root使用者
[[email protected] /]# 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
配置yum redhat
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)