Skip to content

Commit 4d29a8d

Browse files
committed
modified: pages/docs/install/install-linux.md
1 parent 19c1435 commit 4d29a8d

1 file changed

Lines changed: 30 additions & 2 deletions

File tree

pages/docs/install/install-linux.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,36 @@ And then install using one of the methods above.
5353

5454

5555

56-
## Debian/Ubuntu Flavor Install
57-
Singularity is available on Debian (and Ubuntu) systems starting with Debian stretch and the Ubuntu 16.10 yakkety releases. The package is called `singularity-container`. You should first enable the NeuroDebian repository following instructions on the <a href="http://neuro.debian.net" target="_blank">NeuroDebian</a> site. This means using the dropdown menus to find the correct mirror for your operating system and location. For example, after selecting Ubuntu 16.04 and selecting a mirror in CA, I am instructed to add these lists:
56+
## Debian/Ubuntu Package
57+
Singularity is available on Debian (and Ubuntu) systems starting with Debian stretch and the Ubuntu 16.10 yakkety releases. The package is called `singularity-container`.
58+
59+
60+
### Testing first with Docker
61+
If you want a quick preview of the NeuroDebian mirror, you can do this most easily with the NeuroDebian Docker image (and if you don't, skip to the next section). Obviously you should have <a href="https://docs.docker.com/engine/installation/linux/ubuntu/" target="_blank">Docker installed</a> before you do this.
62+
63+
First we run the `neurodebian` Docker image:
64+
65+
```
66+
$ docker run -it --rm neurodebian
67+
```
68+
69+
Then we update the cache (very quietly), and look at the `singularity-container` policy provided:
70+
71+
```
72+
$ apt-get update -qqq
73+
$ apt-cache policy singularity-container
74+
singularity-container:
75+
Installed: (none)
76+
Candidate: 2.3-1~nd80+1
77+
Version table:
78+
2.3-1~nd80+1 0
79+
500 http://neuro.debian.net/debian/ jessie/main amd64 Packages
80+
```
81+
82+
You can continue worker in Docker, or go back to your host and install Singularity.
83+
84+
### Adding the Mirror and Installing
85+
You should first enable the NeuroDebian repository following instructions on the <a href="http://neuro.debian.net" target="_blank">NeuroDebian</a> site. This means using the dropdown menus to find the correct mirror for your operating system and location. For example, after selecting Ubuntu 16.04 and selecting a mirror in CA, I am instructed to add these lists:
5886

5987
```
6088
sudo wget -O- http://neuro.debian.net/lists/xenial.us-ca.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list

0 commit comments

Comments
 (0)