To update Apptainer on Linux, follow these steps based on your installation method:
bashsudo apt update sudo apt upgrade apptainer
bashsudo dnf upgrade apptainer # For Fedora/RHEL 8+ sudo yum update apptainer # For older CentOS/RHEL 7
bashsudo zypper refresh sudo zypper update apptainer
bashsudo pacman -Syu apptainer
Download the latest AppImage from the official releases page and replace the old binary:
bashchmod +x apptainer-<version>-x86_64.sif sudo mv apptainer-<version>-x86_64.sif /usr/local/bin/apptainer
bashgit pull origin main
bash./mconfig make -j$(nproc) sudo make install
bashapptainer --version
Ensure the version matches the latest release.
bashsudo apt install golang # Debian/Ubuntu sudo dnf install golang # Fedora/RHEL
Vibe can make mistakes. Check answers. Learn more