Ask Your Question
0

problem installing RPMFusion

asked 2015-06-04 10:22:33 -0500

GingerHunter797 gravatar image

I am trying to install RPMFusion, but every time I run this command I get an error. This is the command that always fails... su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/f... -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfre... -E %fedora).noarch.rpm'

This is what I get from the terminal...

$ su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/f... -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfre... -E %fedora).noarch.rpm' Password: Yum command has been deprecated, redirecting to '/usr/bin/dnf localinstall --nogpgcheck http://download1.rpmfusion.org/free/f... http://download1.rpmfusion.org/nonfre... . See 'man dnf' and 'man yum2dnf' for more information. To transfer transaction metadata from yum to DNF, run: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

No such command: localinstall. Please use /usr/bin/dnf --help It could be a DNF plugin command, try: "dnf install 'dnf-command(localinstall)'"

Im new to Fedora, I used to use Ubuntu. I am using the Fedora Mate-Compiz spin. I would greatly appreciate it if someone could help me fix this problem. :)

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2015-06-04 16:29:02 -0500

davidva gravatar image

updated 2015-06-04 16:31:51 -0500

Here:

1) su
2) dnf -y 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
edit flag offensive delete link more
1

answered 2015-06-04 16:34:19 -0500

masteroman gravatar image

yum is deprecated and you should use dnf for installing software. Also, localinstall switch is not needed anymore as install covers that.

You can follow these steps to configure RPM Fusion repositories on your Fedora 22 install:

For Free repository:

wget http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-22.noarch.rpm
dnf install rpmfusion-free-release-22.noarch.rpm

For non-Free repository:

wget http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-22.noarch.rpm
dnf install rpmfusion-nonfree-release-22.noarch.rpm
edit flag offensive delete link more

Comments

Thank you for the important part: Also, localinstall switch is not needed anymore as install covers that.

paladini gravatar imagepaladini ( 2015-12-10 12:44:43 -0500 )edit

Question Tools

Stats

Asked: 2015-06-04 10:22:33 -0500

Seen: 5,943 times

Last updated: Jun 04 '15