centos7使用yum安装不了ffmpeg

ε祈祈猫儿з 提交于 2019-12-30 02:58:20
[root@localhost]# yum install ffmpeg
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                              | 7.7 kB  00:00:01     
 * epel: mirrors.aliyun.com
base                                                                                                                              | 3.6 kB  00:00:00     
docker-ce-edge                                                                                                                    | 3.5 kB  00:00:00     
epel                                                                                                                              | 4.7 kB  00:00:00     
extras                                                                                                                            | 3.4 kB  00:00:00     
updates                                                                                                                           | 3.4 kB  00:00:00     
(1/3): epel/x86_64/updateinfo                                                                                                     | 1.0 MB  00:00:00     
(2/3): updates/7/x86_64/primary_db                                                                                                | 3.2 MB  00:00:07     
(3/3): epel/x86_64/primary_db                                                                                                     | 6.6 MB  00:00:16     
No package ffmpeg available.
Error: Nothing to do

Q:

CentOS 7 需额外安装扩展源:
wget https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm 2
wget https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm 1
rpm -ivh *.rpm
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro 2
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm 2
yum -y install ffmpeg ffmpeg-devel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!