How to Install RPMforge yum repository on CentOS 7


Read: How to Install RPMforge yum repository on CentOS 6

In this tutorial we will learn how to install and add the RPMforge repository on CentOS 7.

Installation:
Verify the latest release of the rpmforge directory here

Step 1:

wget http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

Result:

[root@tutorialspots ~]# wget http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
--2019-08-15 18:06:51--  http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving repository.it4i.cz (repository.it4i.cz)... 2001:718:1007:48::1:52, 195.113.250.52
Connecting to repository.it4i.cz (repository.it4i.cz)|2001:718:1007:48::1:52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12520 (12K) [application/x-rpm]
Saving to: ‘rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm’

100%[======================================>] 12,520      --.-K/s   in 0s

2019-08-15 18:06:51 (96.9 MB/s) - ‘rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm’ saved [12520/12520]

Step 2:

rpm -Uhv rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

Result:

[root@tutorialspots ~]# rpm -Uhv rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
warning: rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:rpmforge-release-0.5.3-1.el7.rf  ################################# [100%]

This will install a file (rpmforge.repo) in /etc/yum.repos.d and a rpm-gpg key in /etc/pki/rpm-gpg. The rpmforge repo will now be included when installing and updating files using yum.

rpmforge repo

1 Comment

Leave a Reply