Parliament Hill Computers LtdParliament Hill Computers Ltd

RPM Repository for CentOS 6 & CentOS 7


Overview

The packages are an eclectic mix of programs that I have found useful enough to install on several machines. What is here should also install on RedHat Enterprise 6 & RedHat Enterprise 7.

To see what there is list of contents for CentOS 6 and for CentOS 7. The CentOS 4 & CentOS 5 repositories have been removed.

There is an announce mail list for this software that you may wish to subscribe to. You might wish to peruse The Software-announce Archives. This list is moderated and it is highly unlikely that subscriber postings will be approved.

How to use it

You can access the repo either by using Yum or Rsync (probably in combination with mrepo). The instructions below are written for CentOS 6, to use with CentOS 7 change '6' for '7' .

Using Yum

You need to:

  1. create the file /etc/yum.repos.d/phcl.repo with the contents:

        # Parliament Hill Computers Ltd - CentOS repository
        [phcl]
        name=PHCL for CentOS-$releasever
        baseurl=https://www.phcomp.co.uk/Software/centos$releasever-$basearch/RPMS.phcl/
        gpgcheck=1
        protect=0
        gpgkey=https://www.phcomp.co.uk/Software/RPM-GPG-KEY-PHCL-CentOS-$releasever
    
  2. Clean out the yum cache (recommended):

        yum clean all
    
  3. Install packages with:
        yum install package-name
    

Using Rsync

You can browse the repository with rsync like this:

    rsync rsync://www.phcomp.co.uk/downloads/

Once you have found what you want download a specific RPM with something like:

    rsync rsync://www.phcomp.co.uk/downloads/centos6-x86_64/phcl/KeepAlive-1.5-1.1.x86_64.rpm .

Using mrepo

mrepo is a way of maintaining an RPM repository.
You will already have a suitable file in /etc/mrepo.conf.d/, you append this line:

    phcl = rsync://www.phcomp.co.uk/downloads/centos$release-$arch/phcl/

and fetch and build with:

    mrepo -qug

Then follow the Using Yum instructions above, but change the baseurl to point to your server.