CentOS 6.8 安装vlc

本文详细介绍了如何在不同版本的EL系统中安装VLC多媒体播放器,并解决安装过程中出现的解码器依赖问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转自:http://blog.youkuaiyun.com/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   
//成功

转载于:https://www.cnblogs.com/cutelinux/p/5709579.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值