NorduGrid testing repository information for ARC 7

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. This page explains how you install NorduGrid ARC packages from the testing channel - which is used for alpha, beta, and release candidate releases.

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 -

Note

The GPG key will eventually be updated from the old ARC 6 key to a new ARC 7 key.

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-testing.repo

The repository configuration must be set up manually when using the testing repo, as per instructions below.

Manual YUM repository setup - NorduGrid repository

For manual YUM repository setup, create a file /etc/yum.repos.d/nordugrid-testing.repo with the following contents:

Note

Here we are using Rocky as an example, if you are using other flavours, please replaces rocky with

  • Fedora: fedora
  • CentOS: centos - NB, the release version should be el7 not just 7
  • CentosStream: centos-stream
  • AlmaLinux: rocky
[nordugrid-testing]
name=NorduGrid - $basearch - Testing
baseurl=http://download.nordugrid.org/repos/7/rocky/9/$basearch/testing
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nordugrid-6

[nordugrid-testing-debuginfo]
name=NorduGrid - $basearch - Testing - Debug
baseurl=http://download.nordugrid.org/repos/7/rocky/9/$basearch/testing/debug
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nordugrid-6

[nordugrid-testing-source]
name=NorduGrid - Testing - Source
baseurl=http://download.nordugrid.org/repos/7/rocky/9/source/testing
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nordugrid-6

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

[root ~]# yum makecache

Install required packages

The NorduGrid repositories for RedHat Enterprise Linux/CentOS depends on the EPEL Repositories which must also be part of the YUM configuration:

For RHEL7 flavour:

yum install -y epel-release

For RHEL8 flavour:

dnf config-manager --set-enabled powertools

For RHEL9 flavour:

dnf config-manager --set-enabled crb

Once the NorduGrid repositories are configured and the dependency above installed, install the alpha/beta/release-candidate packages with:

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

For instance:

dnf install --enablerepo nordugrid-testing  nordugrid-arc-arex --refresh

Are you on RHEL-flavour 7, use yum instead of dnf.

Please refer to the ARC Computing Element Installation and Configuration Guide for package selection and 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.

For the testing repo, you must manually set up the configuration file as per instructions below.

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 12 bookworm):

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

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

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

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

For Debian:

  • 12: bookworm
  • 11: bullseye
  • 10: buster

For Ubuntu:

  • 23.10: mantic
  • 22.04: jammy
  • 20.04: focal

Install required packages

Run the following command to update the packages database:

[root~]# apt-get update

Install the packages with (showing example for nordugrid-arc-arex):

[root~]# apt-get <list-of-packages>

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