How to Install SingularityCE from the EPEL Repository

By Staff

EPEL (Extra Packages for Enterprise Linux) is a community project from Fedora, providing high-quality add-on packages for Red Hat Enterprise Linux (RHEL) and its compatible derivatives, such as AlmaLinux, Oracle Linux, Rocky Linux, and others. EPEL repository is a great resource for users who need additional software packages not included in the default RHEL distribution.

By integrating SingularityCE with EPEL, starting with release 3.10.4, users can more easily install and manage the installation using a native package management tool. Here is an example procedure for installing EPEL and SingularityCE in Alma Linux, along with an accompanying short video:

To confirm you have a compatible OS, this command will display the OS version and name installed:

cat /etc/os-release

Install and enable the EPEL repository:

sudo dnf install epel-release

Type ‘Y’ at the prompt, EPEL is now installed

sudo dnf update

Type ‘Y’ at the prompt to refresh the repository.

If you wish to confirm the version and package information of the latest SingularityCE:

dnf info singularity-ce

Install SingularityCE latest version:

sudo dnf install singularity-ce

Type ‘Y’ at the prompt.

To verify the installation:

singularity --version

Take a look at the video showing how easy it is to enable the EPEL repository and install SingularityCE in Alma Linux:

Note: If you have Singularity built from source, it might take precedence over the RPM installation. If this happens, please remove the compiled version.

For more information about SingularityCE, please visit: https://sylabs.io/docs.

Direct links to the latest SingularityCE User Guide or the SingularityCE Administrator Guide

SingularityCE Google Groups community announcement.

Related Posts