Skip to content

Commit 91f8fe0

Browse files
committed
modified: pages/docs/install/install-linux.md
1 parent d706e38 commit 91f8fe0

1 file changed

Lines changed: 50 additions & 3 deletions

File tree

pages/docs/install/install-linux.md

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,61 @@ And then install using one of the methods above.
5454

5555

5656
## 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` and can be installed as follows:
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:
5858

59-
```bash
59+
```
60+
sudo wget -O- http://neuro.debian.net/lists/xenial.us-ca.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
61+
sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9
62+
```
63+
64+
and then update
65+
66+
```
6067
sudo apt-get update
68+
```
69+
70+
then singularity can be installed as follows:
71+
72+
```bash
6173
sudo apt-get install -y singularity-container
6274
```
6375

64-
The current version provided is 2.2.1, and the package maintainers will release the updated 2.3 soon. If you need a backport build of the recent release of Singularity on those or older releases of Debian and Ubuntu, please enable the NeuroDebian repository following instructions on the <a href="http://neuro.debian.net" target="_blank">NeuroDebian</a> site.
76+
During the above, if you have a previously installed configuration, you might be asked if you want to define a custom configuration/init, or just use the default provided by the package, eg:
77+
78+
```
79+
Configuration file '/etc/singularity/init'
80+
==> File on system created by you or by a script.
81+
==> File also in package provided by package maintainer.
82+
What would you like to do about it ? Your options are:
83+
Y or I : install the package maintainer's version
84+
N or O : keep your currently-installed version
85+
D : show the differences between the versions
86+
Z : start a shell to examine the situation
87+
The default action is to keep your current version.
88+
*** init (Y/I/N/O/D/Z) [default=N] ? Y
89+
90+
Configuration file '/etc/singularity/singularity.conf'
91+
==> File on system created by you or by a script.
92+
==> File also in package provided by package maintainer.
93+
What would you like to do about it ? Your options are:
94+
Y or I : install the package maintainer's version
95+
N or O : keep your currently-installed version
96+
D : show the differences between the versions
97+
Z : start a shell to examine the situation
98+
The default action is to keep your current version.
99+
*** singularity.conf (Y/I/N/O/D/Z) [default=N] ? Y
100+
```
101+
102+
And for a user, it's probably well suited to use the defaults. For a cluster admin, we recommend that you read the </a href="/admin-docs">admin docs</a> to get a better understanding of the configuration file options available to you. Remember that you can always tweak the files at `/etc/singularity/singularity.conf` and `etc/singularity/init` if you want to make changes.
103+
104+
After this install, you should confirm that `2.3-dist` is the version installed:
105+
106+
```bash
107+
$ singularity --version
108+
2.3-dist
109+
```
110+
111+
Note that if you don't add the NeuroDebian lists, the version provided will be old (e.g., 2.2.1). If you need a backport build of the recent release of Singularity on those or older releases of Debian and Ubuntu, you can <a href="http://neuro.debian.net/pkgs/singularity-container.html" target="_blank">see all the various builds and other information here</a>.
65112

66113

67114
## Build an RPM from source

0 commit comments

Comments
 (0)