CentOS 6.8 安裝vlc


轉自:http://blog.csdn.net/u012570105/article/details/50858884

VLC media player (commonly known as VLC) is a portable, free and open-source, cross-platform media player and streaming media server written by the VideoLAN project. VLC media player supports many audio and video compression methods and file formats, including DVD-Video, video CD and streaming protocols. It is able to stream media over computer networks and to transcode multimedia files.[8]

The default distribution of VLC includes a large number of free decoding and encoding libraries, avoiding the need for finding/calibrating proprietary plugins. Many of VLC’s codecs are provided by the libavcodec library from the FFmpeg project, but it uses mainly its own muxer and demuxers and its own protocols implementations. It also gained distinction as the first player to support playback of encrypted DVDs on Linux and OS X by using the libdvdcss DVD decryption library.

For EL7:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

For EL6:

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

Now:

yum update yum install vlc

以為這樣就可以了,誰知報錯,一堆的解碼器需要依賴關系

轉自:http://www.linuxidc.com/Linux/2015-04/116262.htm

先到/etc/yum.repos.d/目錄下ls一下,看看它們長得是啥樣子。

1、安裝epel和remi的repository:
[root@localhost ~]#yum localinstall --nogpgcheck http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
老 外寫那篇文章時epel-release的版本是6.7,他當時給的下載鏈接是“http://download.fedoraproject.org /pub/epel/6/i386/epel-release-6-7.noarch.rpm”,可這個鏈接目前已經無效了,到 fedoraproject找到了epel新的6.8的版本。
[root@localhost ~]#yum localinstall --nogpgcheck http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

2、安裝rpmfusion的repository:
下面兩個rpm包都要安裝
[root@localhost ~]#yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
[root@localhost ~]#yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm

上述兩個步驟完成后再到/etc/yum.repo.d/目錄下執行一下ls看看又有啥變化。

================================
然后再執行 yum install vlc就可以了
PS:具體原因沒搞明白,因為要用vlc,暫時先用着吧

后面發現個超簡單的 http://www.cnblogs.com/bushe/p/4027882.html
root下:
# cd /etc/yum.repos.d/
# wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo  //若不成功多試幾次
# yum list *vlc*
# yum -y install vlc
# exit

$ vlc   
//成功


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM