Adding Repositories to Red Hat Enterprise / CentOS
Posted by Tres Sat, 13 Jan 2007 00:02:00 GMT
Using yum simplifies package management under Red Hat systems. The problem is that by default, Red Hat only provides a relatively small subset of applications available for *nix systems. Adding new package repositories allows access to thousands of applications that you might otherwise have to compile and manage yourself.
In order to set up new repositories in yum, you’ve got to do two things:
1) Import the GPG key for the repository
2) Add the repository information to a file in /etc/yum.repos.d/
UPDATE Dries repos currently only work with RHEL 3/CentOS 3 and RHEL 4.
Dries
rpm --import http://dries.ulyssis.org/rpm/RPM-GPG-KEY.dries.txt wget -P/etc/yum.repos.d/ http://blas.phemo.us/files/dries.repo
Dag
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt wget -P/etc/yum.repos.d/ http://blas.phemo.us/files/dag.repo
Jpackage
rpm --import http://www.jpackage.org/jpackage.asc wget -P/etc/yum.repos.d/ http://blas.phemo.us/files/jpackage.repo
The jpackage.repo file is configured for use with RHEL/CentOS systems. You can also download the Jpackage provided repo file at jpackage.org. You’ll just have to edit it to enable for your platform.
OpenVZ
rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ wget -P/etc/yum.repos.d/ http://blas.phemo.us/files/openvz.repo