Centos -- configure and install the third-party source prmforge -- officially recommended

Source: Internet
Author: User
Note: The following content is from the official centos wiki.

Looks like: There is no rpmforge source for centos 7

Installing rpmforge

 

Rpmforge is a collaboration of Dag and other packagers. they provide over 5000 packages for centos, including wine, VLC, mplayer, xmms-mp3, and other popular media tools. it is not part of Red Hat or centos but is designed to work with those distributions. see also using rpmforge and repoforge.

Note: Because this repository isNotPart of centos, you shocould direct support questions to its maintainers at the repoforge Users Mailing List.

Packages are supplied in RPM format and in most cases are ready to use. The default rpmforge repository does not replace official centos base packages.

 

1. rpmforge for centos 6

The default rpmforge repository does not replace any centos base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.

You can find a complete listing of the rpmforge package at http://packages.sw.be/

DownloadRpmforge-releasePackage. Choose one of the two links below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the commandUname-I

  • I686 http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

  • Http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm x86_64

The preferredRpmforge-releasePackage to retrieve and to install in order to enable that repository is one of the two listed above.

Install Dag's GPG key

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

If you get an error message like the following the key has already been imported:

error: http://apt.sw.be/RPM-GPG-KEY.dag.txt: key 1 import failed.

Verify the package you have downloaded

rpm -K rpmforge-release-0.5.3-1.el6.rf.*.rpm

Security Warning:TheRpmforge-releasePackage imports GPG keys into your RPM database. As long as you have verifiedMd5sumOf the key injection package, and trust Dag, Et Al., then it shoshould be as safe as your trust of them extends.

Install the package

rpm -i rpmforge-release-0.5.3-1.el6.rf.*.rpm

This will add a yum repository config file and import the appropriate GPG keys.

Then try to install something like this

yum install htop

 

2. rpmforge for centos 5

 

The default rpmforge repository does not replace any centos base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.

You can find a complete listing of the rpmforge package at http://packages.sw.be/

DownloadRpmforge-releasePackage. Choose one of the two links below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the commandUname-I

  • I386 http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm

  • Http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm x86_64

The preferredRpmforge-releasePackage to retrieve and to install in order to enable that repository is one of the two listed above.

Install Dag's GPG key

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

Verify the package you have downloaded

rpm -K rpmforge-release-0.5.3-1.el5.rf.*.rpm

Security Warning:TheRpmforge-releasePackage imports GPG keys into your RPM database. As long as you have verifiedMd5sumOf the key injection package, and trust Dag, Et Al., then it shoshould be as safe as your trust of them extends.

Install the package

rpm -i rpmforge-release-0.5.3-1.el5.rf.*.rpm

This will add a yum repository config file and import the appropriate GPG keys.

Then try to install something like this

yum install htop

 

3. rpmforge for centos 4

 

The default rpmforge repository does not replace any centos base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.

You can find a complete listing of the rpmforge packages at http://packages.sw.be/

DownloadRpmforge-releasePackage. Choose one of the two links below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the commandUname-I

  • I386 http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el4.rf.i386.rpm

  • Http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el4.rf.x86_64.rpm x86_64

The preferredRpmforge-releasePackage to retrieve and to install in order to enable that repository is one of the two listed above.

Install Dag's GPG key

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Verify the package you have downloaded

rpm -K rpmforge-release-0.5.3-1.el4.rf.*.rpm

Security Warning:TheRpmforge-releasePackage imports GPG keys into your RPM database. As long as you have verifiedMd5sumOf the key injection package, and trust Dag, Et Al., then it shoshould be as safe as your trust of them extends.

Install the package

rpm -i rpmforge-release-0.5.3-1.el4.rf.*.rpm

This will add a yum repository config file and import the appropriate GPG keys.

Then try to install something like this

yum install htop

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.