安装EPEL Release,因为安装需要使用其他的repo源,所以需要EPEL支持:
yum install -y epel-release
#如果出现缺少Code提示,可以:

sudo rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
#安装完成之后,可以查看是否安装成功
yum repolist
安装Nux-Dextop源

#导入一个Code
sudo rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
#安装nux-dextop 源
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
#查看repo源是否安装成功
yum repolist
yum安装ffmpeg:

yum install -y ffmpeg
安装完成后检查ffmpeg 版本:

ffmpeg -version

 

http://linux.it.net.cn/CentOS/course/2017/0116/25868.html

大道,在太极之上而不为高;在六极之下而不为深;先天地而不为久;长于上古而不为老

Leave a Reply

Your email address will not be published. Required fields are marked *