You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/docs/install/install-linux.md
+50-3Lines changed: 50 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,14 +54,61 @@ And then install using one of the methods above.
54
54
55
55
56
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`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 <ahref="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:
58
58
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
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 <ahref="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.
==> 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 <ahref="http://neuro.debian.net/pkgs/singularity-container.html"target="_blank">see all the various builds and other information here</a>.
0 commit comments