Repository information
Yum and apt repositories are available for several systems. NorduGrid RPM packages are signed, and in order to verify them you must install the NorduGrid GPG key:
rpm --import http://ftp.nordugrid.org/RPM-GPG-KEY-nordugrid
Repositories are available for stable releases (stable), for packages undergoing testing (testing) and for development releases (devel). Testing repository must always be used with the stable one enabled.
Yum repository configuration
The Yum repository configuration file should look like:
[nordugrid] name=NorduGrid - $basearch - stable baseurl=http://ftp.nordugrid.org/repos/fedora/$releasever/$basearch/stable enabled=1 gpgcheck=1 gpgkey=http://ftp.nordugrid.org/RPM-GPG-KEY-nordugrid [nordugrid-testing] name=NorduGrid - $basearch - testing baseurl=http://ftp.nordugrid.org/repos/fedora/$releasever/$basearch/testing # Always make sure nordugrid stable repo is enabled enabled=0 gpgcheck=1 gpgkey=http://ftp.nordugrid.org/RPM-GPG-KEY-nordugrid [nordugrid-devel] name=NorduGrid - $basearch - devel baseurl=http://ftp.nordugrid.org/repos/fedora/$releasever/$basearch/devel enabled=0 gpgcheck=1 gpgkey=http://ftp.nordugrid.org/RPM-GPG-KEY-nordugrid
IMPORTANT! You can use yum groupinstall feature when installing ARC server and client:
yum groupinstall "ARC Server" yum groupinstall "ARC Client"
In graphical interfaces to Yum, these groups will appear in the "Grid" section. You can find the package lists on the groups page.
up2date configuration
In order to use the Red Hat up2date utility, add to its repository configuration lines like:
yum nordugrid http://ftp.nordugrid.org/repos/fedora/3/i386/stable yum nordugrid http://ftp.nordugrid.org/repos/fedora/3/i386/testing yum nordugrid http://ftp.nordugrid.org/repos/fedora/3/i386/devel
Make sure to enable/disable repositories accordingly (to be on the safe side, stable must be always enabled)
Since up2date does not support remote group files the group operations are not readily available for the external repositories. Here is the optional recipe to add the NorduGrid groups:
# Retrieve groups file wget http://ftp.nordugrid.org:/repos/redhat/el4/i386/stable/repodata/comps.xml # Copy the file to the correct location # (see: /usr/share/rhn/up2date_client/up2dateComps.py) cp -p comps.xml /usr/share/comps/i386/nordugrid_comps.xmlAdd the lines:
compsFiles[comment]=Groups files compsFiles=/usr/share/comps/i386/comps.xml;/usr/share/comps/i386/nordugrid_comps.xml;to /etc/sysconfig/rhn/up2date. Now you can use:
up2date --show-groupsin order to see the available groups. In order to install a group do:
up2date @"ARC Client"Note that the group file /usr/share/comps/i386/nordugrid_comps.xml should be updated if it is changed on the server.
apt configuration
For using an apt repository with RPM, add to your configuration file a line like:
rpm http://ftp.nordugrid.org/repos fedora/3/i386 stable rpm http://ftp.nordugrid.org/repos fedora/3/i386 testing rpm http://ftp.nordugrid.org/repos fedora/3/i386 devel
Notes:
- Try to use the Yum repositories whenever possible. The Yum repository format seems to be more and more widely supported for a variety of clients and other formats might be discontinued.
- If you can not find a repository for your operating system use one which is compatible. Eg. CentOS and Scientific Linux are compatible with Red Hat Enterprise Linux.