You are here: Home / What do you need? / Help and documentation / Unix tricks and information / Getting RPMs and yum updates from third party stores

Getting RPMs and yum updates from third party stores

by Darrell Kingsley last modified Mar 13, 2014 02:11 PM
It's possible to supplement the Centos updates with RPMs from third party stores. They just need to be added to the yum.conf, but you do need to excercise care.

There are plenty of third party RPM sites, which provide updates and software for Centos/Red Hat distros, over and above the standard sets. Read this article before doing anything.

Set priorities to prevent base packages being overwritten

The next step would appear to be sorting the RPM priorities, before connecting to any additional repositories. This is how you do that.

  1. Make sure in /etc/yum.conf we have plugins=1
  2. yum install yum-priorities
  3. edit /etc/yum/pluginconf.d/priorities.conf and make sure enabled=1
  4. Edit /etc/yum.conf or /etc/yum.repos.d/*.repo and set the priority=1-99. Higher numbers won't overwrite lower, so set the Centos ones as 1 or 2
  5. yum install yum-protectbase.noarch to protect base packages (with Centos 6, this was just yum install yum-protectbase)


To get mod_limitipconn, we connected to ATrpms.

The instructions are here:

Make sure you use the PGP/GPG keys when connecting, and indeed when downloading and installing any third party software, even from sources like Apache.

More on yum

If you know you need a script e.g. sealert, but you don't know what package it comes with, the following is what you need:

yum provides *sealert

This gives

setroubleshoot-server-2.0.5-5.el5.noarch : SELinux troubleshoot server
Repo        : base
Matched from:
Filename    : /usr/bin/sealert

(And other stuff too). So then it's 

yum install setroubleshoot-server