yum安装找不到包问题解决
出现错误如下:
[root@localhost ~]# yum -y install gstreamer-ffmpeg
Loaded plugins: refresh-packagekit
Setting up Install Process
No package gstreamer-ffmpeg available.
Nothing to do
You have new mail in /var/spool/mail/root
解决方法:
显示没有找到包,需要添加软件仓库,输入以下命令:
rpm -ivh http://rpm.livna.org/livna-release.rpm
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
然后开始yum安装,就能自动找到库了。