Last active
September 15, 2019 02:21
-
-
Save zorbax/fd68130cffcffa6209c99e4183da9912 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get install -y \ | |
build-essential libssl-dev uuid-dev libgpgme11-dev \ | |
squashfs-tools libseccomp-dev pkg-config | |
export VERSION=1.11 OS=linux ARCH=amd64 && \ | |
wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz && \ | |
tar -C $HOME/bin -xzvf go$VERSION.$OS-$ARCH.tar.gz && \ | |
rm go$VERSION.$OS-$ARCH.tar.gz | |
echo 'export PATH=${PATH}:${GOPATH}/bin' >> ~/.bashrc && \ | |
source ~/.bashrc | |
export VERSION=3.0.3 && \ | |
mkdir -p $GOPATH/src/github.com/sylabs && \ | |
cd $GOPATH/src/github.com/sylabs && \ | |
wget https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-${VERSION}.tar.gz && \ | |
tar -xzf singularity-${VERSION}.tar.gz && rm singularity-${VERSION}.tar.gz && \ | |
cd ./singularity && \ | |
./mconfig --prefix=$HOME/bin/singularity && \ | |
make -C ./builddir && \ | |
make -C ./builddir install | |
echo 'export PATH=$HOME/bin/singularity/bin' >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment