Skip to Content
Installation

Installation

Prerequisites

  • Rocky Linux 9 or 10, or RLC Pro 9 or 10, on x86_64. The steps in this guide were tested on the following releases:

    DistributionApptainer Pro RPM installed
    Rocky Linux 9apptainer-1.5.5+pro1-1.el9.x86_64
    Rocky Linux 10apptainer-1.5.5+pro1-1.el10.x86_64
    RLC Pro 9apptainer-1.5.5+pro1-1.el9.x86_64
    RLC Pro 10apptainer-1.5.5+pro1-1.el10.x86_64
  • An account with sudo access for installation.

  • Access to Apptainer Pro in the CIQ Portal.

  • The EPEL repository. Apptainer requires the fakeroot package, which comes from EPEL on Rocky Linux and RLC Pro.

Install

Apptainer Pro is installed from the release RPMs. The steps are the same on Rocky Linux and RLC Pro.

  1. Download the RPM that matches your EL major version from the Apptainer Pro product page in the CIQ Portal, as described in Direct Downloads from Portal, and copy it to the host:

    • EL 9: apptainer-1.5.5+pro1-1.el9.x86_64.rpm
    • EL 10: apptainer-1.5.5+pro1-1.el10.x86_64.rpm
  2. Enable EPEL, so the install can resolve the fakeroot dependency:

    dnf -y install epel-release
  3. Stop EPEL from replacing the Apptainer Pro build. EPEL also ships the upstream community build of Apptainer, and a later upstream release would otherwise replace Apptainer Pro during a routine dnf update:

    dnf config-manager --save --setopt="epel.excludepkgs=apptainer*"
  4. Install the RPM from the directory you copied it to.

    On EL 9:

    dnf -y install ./apptainer-1.5.5+pro1-1.el9.x86_64.rpm

    On EL 10:

    dnf -y install ./apptainer-1.5.5+pro1-1.el10.x86_64.rpm
Note

If the upstream community build of Apptainer is already installed from EPEL, the Apptainer Pro RPM installs and upgrades cleanly over it.

Upstream build from Depot on RLC Pro

RLC Pro also provides an apptainer repository in CIQ Depot. This repository serves the upstream community build of Apptainer, not Apptainer Pro, and it has no EL 10 repository. To install Apptainer Pro, use the release RPM as described above.

If you use the Depot repository for the upstream build, log in to Depot first, as described in Depot Client, then enable the repository:

depot enable apptainer dnf -y install epel-release dnf -y install apptainer

Apptainer with Warewulf Pro

Warewulf Pro also distributes a CIQ-packaged build of Apptainer through its own Depot repository. See Apptainer in the Warewulf Pro documentation.

Verify the installation

Run the following commands as your own user, with no sudo:

rpm -q apptainer

On EL 9 this prints apptainer-1.5.5+pro1-1.el9.x86_64 for the Apptainer Pro build. On EL 10 the release ends in .el10. A release without +pro1, such as apptainer-1.5.5-1.el9.x86_64, is the upstream build.

apptainer --version apptainer run docker://ghcr.io/apptainer/lolcow
Note

/etc/subuid and /etc/subgid are present by default on Rocky Linux and RLC Pro. Apptainer runs containers as the user who starts them, with no sudo required.

Next steps

For running and building containers with Apptainer itself, see the upstream Apptainer user guide and Apptainer admin guide.