$ git clone https://github.com/singularityware/singularity.git $ cd singularity $ ./autogen.sh $ ./configure --prefix=/usr/local --sysconfdir=/etc $ make $ sudo make install
如果满足于安装旧版本,能成功
1 2 3 4 5 6 7
VERSION=2.5.2 wget https://github.com/singularityware/singularity/releases/download/$VERSION/singularity-$VERSION.tar.gz tar xvf singularity-$VERSION.tar.gz cd singularity-$VERSION ./configure --prefix=/usr/local make sudo make install
export VERSION=3.6.3 && # adjust this as necessary \ wget https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-${VERSION}.tar.gz && \ tar -xzf singularity-${VERSION}.tar.gz && \ cd singularity
1 2 3
$ ./mconfig && \ make -C ./builddir && \ sudo make -C ./builddir install