Skip to content

Public RPMs installation instructions

Below you can find the instruction on where to find the publically available RPMs for the CTA software and how to install these RPMs.

Info

The cta-release package is broken in Alma9 for CTA versions strictly before 5.11.0.1-1. This bug has since been fixed in cta-release-5.11.0.1-1 and future releases. As of 2024-11-07 cta-release-5.11.0.1-1 is available in testing.

Instructions

1. Setup the repo for CTA-5:

Operators can choose between a stable or a testing channel for CTA:

  • stable:
    • These releases have been deployed at CERN in production successfully.
  • testing:
    • Updated more frequently, with more recent releases.
    • They are expected to work (CI testing was successful) but have not been deployed in production at CERN.

For stable CTA versions:

cat << EOF > /etc/yum.repos.d/public-stable-cta-5.repo
[public-stable-cta-5-alma9]
name=CERN Tape Archive
baseurl=https://cta-public-repo.web.cern.ch/stable/cta-5/el9/cta/x86_64
enabled=1
gpgcheck=0
EOF

For testing CTA versions:

cat << EOF > /etc/yum.repos.d/public-testing-cta-5.repo
[public-testing-cta-5-alma9]
name=CERN Tape Archive
baseurl=https://cta-public-repo.web.cern.ch/testing/cta-5/el9/cta/x86_64
enabled=1
gpgcheck=0
EOF

2. Search and/or install cta-release:

dnf search cta-release --showduplicates
dnf install cta-release-<cta_version>.el9.x86_64

or, to get the latest version:

dnf install cta-release

3. Configure CTA/EOS repos and dependencies:

cta-versionlock apply

**4. Install additional repositories

epel-release repository is needed before going further.

dnf install epel-release

5. Install CTA and EOS:

Choose the appropriate packages, as needed.

dnf install cta-frontend
dnf install cta-taped
dnf install cta-rmcd
dnf install cta-smc
dnf install eos-server
dnf install eos-client

Note:

The RPM dependency cta-lib-catalogue-occi requires Oracle Instant Client to be installed. At the moment, this needs to be performed manually with:

dnf install -y wget
wget https://download.oracle.com/otn_software/linux/instantclient/2112000/el9/oracle-instantclient-basic-21.12.0.0.0-1.el9.x86_64.rpm
dnf install oracle-instantclient-basic-21.12.0.0.0-1.el9.x86_64.rpm