Installation
Prerequisites
Section titled “Prerequisites”- Linux on amd64 (x86_64) or arm64 (aarch64).
- Host Apptainer or Singularity is optional. CondaTainer builds
.deffiles with the downloaded Apptainer, or withhost_apptainerif set.
NOTE: Slurm is the primary supported scheduler. PBS (PBS Pro or OpenPBS) and LSF support is experimental.
Install
Section titled “Install”curl -fsSL https://install.condatainer.org | bashThe script asks where to install, whether to set up your shell, and whether to download the toolchain.
Verify
Section titled “Verify”Restart your terminal, or run source ~/.bashrc. Then list the available recipes:
condatainer availSet up your shell
Section titled “Set up your shell”If you skipped shell init, or changed shell, run it yourself:
condatainer shell init # Host only- It supports bash, zsh and fish, and detects the one you are running. Use
--shellto name another. - It writes a block marked
# >>> CONDATAINER >>>to~/.bashrcor~/.zshrc, or the file~/.config/fish/conf.d/condatainer.fish. Text outside the block is never changed.
Adjust configurations
Section titled “Adjust configurations”CondaTainer needs Apptainer, Micromamba and other tools. They are downloaded into libexec. If that was skipped or failed, download them later:
condatainer update --libexecTo build from Singularity .def files with the host’s Apptainer instead:
module load apptainer/1.5condatainer config set host_apptainer "$(command -v apptainer)"Uninstall
Section titled “Uninstall”-
Remove the shell setup:
condatainer shell removeIt deletes the block marked
# >>> CONDATAINER >>>from your~/.bashrcand~/.zshrc, and the fish file. Use--shellto remove from some only. -
Remove the data directories. Check which exist:
Location Holds <install-dir>/The condatainerbinary, the toolchain and shared overlays.$SCRATCH/condatainer/Personal overlays, when $SCRATCHis set.~/.local/share/condatainer/Personal overlays (or $XDG_DATA_HOME/condatainer/). -
Remove personal config.
~/.config/condatainer/(or$XDG_CONFIG_HOME/condatainer/). -
Remove state and cache:
~/.local/state/condatainer/and~/.cache/condatainer/(or under$XDG_STATE_HOMEand$XDG_CACHE_HOME).