PDA

View Full Version : How to enable RPMFusion (free and nonfree) and sign the RPMFusion download



Cylinder57
18th July 2013, 07:13 PM
Hello everyone,

Note that this guide is for Fedora 19.

The RPMFusion website states ways to download the repository without signing the package.

Signing the RPMFusion download before installing and enabling it on the computer can make sure that the download is not tampered by a third party.

To sign the downloaded RPMFusion and enable it:

Download RPMFusion:

Free:

wget download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm

Nonfree:

wget download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm

Download the RPMFusion keys:

Free:

wget "rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-fedora-19" && mv "keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-fedora-19" RPM-GPG-KEY-rpmfusion-free-fedora-19

Nonfree:

wget "rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-19" && mv "keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-19" RPM-GPG-KEY-rpmfusion-nonfree-fedora-19

Import the RPMFusion keys:

Free:
(As root: )
rpm --import RPM-GPG-KEY-rpmfusion-free-fedora-19

Nonfree:
(As root: )
rpm --import RPM-GPG-KEY-rpmfusion-nonfree-fedora-19

Verify RPMFusion:

Free:

rpm -K rpmfusion-free-release-19.noarch.rpm

You should see the following result (output: )

rpmfusion-free-release-19.noarch.rpm: rsa sha1 (md5) pgp md5 OK

Nonfree:

rpm -K rpmfusion-nonfree-release-19.noarch.rpm

You should see the following result (output: )

rpmfusion-nonfree-release-19.noarch.rpm: rsa sha1 (md5) pgp md5 OK

Install rpmfusion:

Free:
(As root: )
rpm -i rpmfusion-free-release-19.noarch.rpm

Nonfree:
(As root: )
rpm -i rpmfusion-nonfree-release-19.noarch.rpm

This should cause RPMFusion (free and nonfree) to be installed and enabled.

To check, type:

yum list installed | grep rpmfusion

You should see the following result (output: )

rpmfusion-free-release.noarch 19-1 installed
rpmfusion-nonfree-release.noarch 19-1 installed

Sincerely,

Cylinder57

sentabi
19th July 2013, 05:18 AM
or better using example from rpmfusion website


su -c 'yum localinstall --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'


simpler


wget "rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-19" -O RPM-GPG-KEY-rpmfusion-free-fedora-19

marko
19th July 2013, 01:09 PM
Or this way

http://www.mjmwired.net/resources/mjm-fedora-f19.html#yum

as from the yellow "Fedora Set-Up Guides" URL at the top of the forum: http://www.fedoraforum.org/?view=fedora_setup