NorduGrid repository information for ARC 6

Warning

As ARC 6 is not yet out, installation requires enabling the nordugrid-testing repo. See instructions below.

The NorduGrid ARC packages are available through YUM and APT repositories for several systems. We have release-based repositories that you can follow. This will keep your install to a particular release of NorduGrid ARC with only minor and bug-fixing updates. You can also choose to follow the repository “latest” which will always point to the latest stable release. For each distribution there are 3 channels (repositories) available:

  • base - Base packages (mandatory)
  • updates - Updates to the base release (strongly recommended)
  • testing - Packages almost ready to go into the updates repository (optional). The alpha, beta and release candidate releases can be found here.

Repository security

The NorduGrid RPM packages and DEB repositories are signed, and in order for the repository tools APT and YUM to verify them you must install the NorduGrid GPG key:

For rpm based distributions like Red Hat Enterprise Linux and Fedora:

[root ~]# rpm --import http://download.nordugrid.org/RPM-GPG-KEY-nordugrid-6

For Ubuntu distributions with sudo:

[user ~]$ wget -q http://download.nordugrid.org/DEB-GPG-KEY-nordugrid-6.asc -O- | sudo apt-key add -

For Debian without sudo:

[root ~]# wget -q http://download.nordugrid.org/DEB-GPG-KEY-nordugrid-6.asc -O- | apt-key add -

Repository configuration - Red Hat Enterprise Linux

The NorduGrid ARC repositories for RedHat Enterprise Linux / CentOS packaging utility yum or dnf can be configured through:

/etc/yum/nordugrid.repo

The repository configuration can be set up automatically by means of installing nordugrid-release package or creating the configuration file manually.

Install nordugrid-release package with YUM/DNF

The easiest way to configure YUM to use the NorduGrid repository for Red Hat Enterprise Linux, CentOS and similar distributions is to install the nordugrid-release package which can be found in the NorduGrid package repository for the appropriate RHEL/EPEL release.

Example packages are shown below for x86_64 architectures, they also exist for i386 when applicable. In that case exchange the x86_64 in the links below with i386.

CentOS: EL7 EL6

Fedora: 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12

Install with yum (CentOS) or dnf (Fedora), here shown for CentOS:

[root ~]# yum install <rhel-repo link>

This creates the appropriate repo files in /etc/yum.repos.d/.

Manual YUM repository setup - NorduGrid repository

For manual YUM repository setup, create a file /etc/yum.repos.d/nordugrid.repo with the following contents (here using CentOS as example, if you are on Fedora, replace centos with fedora)

If you are installing an alpha, beta or release candiate, please set the nordugrid-testing to enabled=1.

[nordugrid]
name=NorduGrid - $basearch - base
baseurl=http://download.nordugrid.org/repos/6/centos/$releasever/$basearch/base
enabled=1
gpgcheck=1
gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid-6

[nordugrid-updates]
name=NorduGrid - $basearch - updates
baseurl=http://download.nordugrid.org/repos/6/centos/$releasever/$basearch/updates
enabled=1
gpgcheck=1
gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid-6

[nordugrid-testing]
name=NorduGrid - $basearch - testing
baseurl=http://download.nordugrid.org/repos/6/centos/$releasever/$basearch/testing
enabled=0
gpgcheck=1
gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid-6

Check if it works running yum (or dnf), e.g.:

[root ~]# yum makecache fast

Install required packages

Once the NorduGrid repositories are configured, install the packages with:

[root~]#  yum install <list of package names>

If you are installing an alpha, beta or release candiate, you must install by enabling the nordugrid-testing repo

[root~]#  yum install --enablerepo nordugrid-testing <list of package names>

Are you on recent version of Fedora, use dnf instead of yum.

Please refer to the ARC Computing Element Installation and Configuration Guide for package selection.

Note that the NorduGrid repositories for RedHat Enterprise Linux/CentOS depends on the EPEL repositories which must also be part of the YUM configuration.

Repository configuration - Debian and Ubuntu

The NorduGrid ARC repositories for Debian and Ubuntu packaging utility APT can be configured through:

/etc/apt/sources.list

or when supported through a repo specific file:

/etc/apt/sources.list.d/nordugrid.list

The configurations for the varios APT based distributions can be found in the following sections. To enable a specific repository, remove the “#” from the beginning of the line, before the “deb” as shown for the Base Channel.

The repository configuration can be set up automatically by means of installing nordugrid-release package or creating the configuration file manually.

Install nordugrid-release package for Debian/Ubuntu through dpkg

The examples below give you the link for most recent Debian/Ubuntu releases. Packages are shown below for amd64 architecture. Replace amd64 for i386 if required for your architecture.

Debian: 9 8 7

Ubuntu: 18.10 18.04 17.10 17.04 16.10 16.04 15.10 15.04 14.10 14.04

Install the source file with dpkg, example shown for Debian 9:

[root ~]# wget -q <debian-repo link> -O- | xargs dpkg -i

For a different version of Debian or Ubuntu, change the version names appropriately.

Manual APT repository setup - NorduGrid repository

For manual APT repository setup for Debian, the APT sources file should contain the following (here shown for Debian 9 stretch):

# Base channel - must be enabled
deb http://download.nordugrid.org/repos/6/debian/ stretch main
deb-src http://download.nordugrid.org/repos/6/debian/ stretch main

# Updates to the base release - should be enabled
deb http://download.nordugrid.org/repos/6/debian/ stretch-updates main
deb-src http://download.nordugrid.org/repos/6/debian/ stretch-updates main

# Scheduled package updates - optional
#deb http://download.nordugrid.org/repos/6/debian/ stretch-experimental main
#deb-src http://download.nordugrid.org/repos/6/debian/ stretch-experimental main

For manual APT repository setup for Ubuntu, the APT sources file should contain the following (here shown for Ubuntu 18.10 cosmic):

# Base channel - must be enabled
deb http://download.nordugrid.org/repos/6/ubuntu/ cosmic main
deb-src http://download.nordugrid.org/repos/6/ubuntu/ cosmic main

# Updates to the base release - should be enabled
deb http://download.nordugrid.org/repos/6/ubuntu/ cosmic-updates main
deb-src http://download.nordugrid.org/repos/6/ubuntu/ cosmic-updates main

# Scheduled package updates - optional
#deb http://download.nordugrid.org/repos/6/ubuntu/ cosmic-experimental main
#deb-src http://download.nordugrid.org/repos/6/ubuntu/ cosmic-experimental main

For a different release version, change the version name accordingly.

Install required packages

Run the following command to update the packages database:

[root~]# apt-get update

Install the packages with:

[root~]# apt-get install <list of package names>

Please refer to the ARC Computing Element Installation and Configuration Guide for package selection.