... | ... | @@ -31,8 +31,11 @@ $ sudo apt-get install golang -y |
|
|
$ sudo go get -u github.com/golang/dep/cmd/dep
|
|
|
```
|
|
|
|
|
|
### Installation (der aktuellsten Version) über das tar-Archiv
|
|
|
- Download eines aktuellen tar-Archivs: https://golang.org/dl/
|
|
|
### Installation aktueller Versionen über das tar-Archiv (empfohlen)
|
|
|
- Download eines aktuellen tar-Archivs unter https://golang.org/dl/ oder mit Befehl:
|
|
|
```sh
|
|
|
wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz
|
|
|
```sh
|
|
|
- tar-Archiv entpacken:
|
|
|
```sh
|
|
|
$ sudo tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz
|
... | ... | @@ -45,7 +48,7 @@ source ~/.bashrc |
|
|
```
|
|
|
- Go dependency management tool installieren:
|
|
|
```sh
|
|
|
$ sudo go get -u github.com/golang/dep/cmd/dep
|
|
|
$ go get -u github.com/golang/dep/cmd/dep
|
|
|
```
|
|
|
|
|
|
## Version der Go-Installation
|
... | ... | @@ -54,12 +57,6 @@ $ sudo go get -u github.com/golang/dep/cmd/dep |
|
|
$ go version
|
|
|
```
|
|
|
|
|
|
## Singularity über APT installieren
|
|
|
- aktuell verfügbare Version 2.6 in Ubuntu 18.04 (Stand 12.06.19)
|
|
|
```sh
|
|
|
$ sudo apt-get install singularity-container -y
|
|
|
```
|
|
|
|
|
|
## Singularity über die Quelle installieren (empfohlen)
|
|
|
- Download:
|
|
|
```sh
|
... | ... | @@ -67,7 +64,7 @@ $ mkdir -p $GOPATH/src/github.com/sylabs && \ |
|
|
cd $GOPATH/src/github.com/sylabs && \
|
|
|
git clone https://github.com/sylabs/singularity.git && \
|
|
|
cd singularity && \
|
|
|
git checkout v3.2.1
|
|
|
git checkout v3.3.0
|
|
|
```
|
|
|
- Kompilieren:
|
|
|
```sh
|
... | ... | |