在Fedora系统中直接用yum或者dnf安装ffmpeg-devel会提示:
No package ffmpeg-devel available
进入ffmpeg官网下载Packages时会直接跳到http://rpmfusion.org/,在该网页里可以看到这样一句话:" RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship. "
明显,要安装ffmpeg的话先要安装RPM Fusion,在Terminal中输入以下命令进行安装:
su -c 'yum install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'