-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingularity.sh
More file actions
33 lines (28 loc) · 1018 Bytes
/
singularity.sh
File metadata and controls
33 lines (28 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
echo "Installing go"
export VERSION=1.20.6 OS=linux ARCH=amd64 && \
wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz && \
mkdir -p $HOME/.local && \
tar -C $HOME/.local -xzvf go$VERSION.$OS-$ARCH.tar.gz && \
rm go$VERSION.$OS-$ARCH.tar.gz
echo 'export PATH=$HOME/.local/go/bin:$PATH' >> ~/.bashrc
export PATH=$HOME/.local/go/bin:$PATH
echo "Installing singularity"
sudo apt-get update && sudo apt-get install -y \
build-essential \
libssl-dev \
uuid-dev \
libgpgme11-dev \
squashfs-tools \
libseccomp-dev \
wget \
pkg-config I am running a few minutes late; my previous meeting is running over.
git \
cryptsetup
export VERSION=ce-3.11.4 && \
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 && \
make -C builddir && \
sudo make -C builddir install && \
cd .. && rm -r singularity