Installing Singularity - TianyuDai/JETSCAPE-rhic-ags GitHub Wiki

Install Singularity

If you already have Singularity installed on your local system, you can skip this step. From a stand-alone Ubuntu/Debian Linux terminal (or from an Ubuntu/Debian Linux terminal running through the Windows 10 WSL2), enable the NeuroDebian repository from which Singularity can be installed. Then install Singularity. Further details are at: https://sylabs.io/guides/3.0/user-guide/installation.html

sudo wget -O- http://neuro.debian.net/lists/xenial.us-ca.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list && \
    sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9 && \
    sudo apt-get update

sudo apt-get install -y singularity-container

To check that Singularity was installed, check the version number with the following command:

singularity --version