Parliament Hill Computers Ltd
Parliament Hill Computers Ltd
 
Home

About PHCL

Recent Projects

Clients

Links

Accessibility

Technical Tutorials

Downloads

Contact PHCL



Best viewed with the FireFox web Browser Get Firefox!

Valid HTML 4.01!

Valid CSS!

RPM Repository for CentOS 5

The packages are an eclectic mix of programs that I have found useful enough to install on several machines.

To see what there is list of contents.

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).

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=http://www.phcomp.co.uk/Software/centos$releasever-$basearch/RPMS.phcl/
        gpgcheck=1
        protect=0
        gpgkey=http://www.phcomp.co.uk/Software/RPM-GPG-KEY-PHCL-CentOS-5
    
  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/centos5-x86_64/phcl/KeepAlive-1.1-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.