Centos7安装播放器(mplayer & vlc)

Centos7自带的播放器播放很难播放各格式的视频,几乎不能用,下面来介绍安装mplayer 和 vlc(能播放多种格式)

1. 准备工作(需要配置epel, nux-dextop, rpmforge yum源);


  • 配置epel源

yum install epel-release

  • 配置rpmforge源

下载rpmforge
yum localinstall rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

  • 配置nuxdextop源

wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
rpm -ivh /nux-dextop-release-0-5.el7.nux.noarch.rpm

yum localinstall nux-dextop-release-0-5.el7.nux.noarch.rpm

2. 安装mplayer


  • 直接yum安装

    # yum install mplayer
    # yum install vlc

  • 然后在本地打开想要的看的视频或者歌曲文件



参考文献:

https://www.jianshu.com/p/d6182626c64a

猜你喜欢

转载自blog.csdn.net/weixin_41282397/article/details/80804448