Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while installing RPMFORGE in CENTOS 7

Tags:

centos

When i try to install rpmforge (i need to install phpmyadmin) i get this error, any help would be greatly appreciated!

[root@plasticarmy ~]# yum http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

Loaded plugins: fastestmirror

No such command: http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm. Please use /usr/bin/yum --help [root@plasticarmy ~]#

Any help would be great!

like image 830
PlasticArmyThug Avatar asked Jul 26 '14 12:07

PlasticArmyThug


2 Answers

Close, but you're missing "install" in the above yum command.

First, if you haven't already, import the key ->

sudo rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Then 'yum install' ->

sudo yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
like image 118
David Scott Kirby Avatar answered Nov 15 '22 17:11

David Scott Kirby


Try running:

rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

as root and it should work.

like image 41
Marius Avatar answered Nov 15 '22 19:11

Marius