@@ -6,7 +6,7 @@ Installation
6
6
.. _sec:installation :
7
7
8
8
This document will guide you through the process of installing Singularity >=
9
- {InstallationVersion} via several different methods. (For instructions on
9
+ {InstallationVersion} via several different methods. (For instructions on
10
10
installing earlier versions of Singularity please see `earlier versions of the
11
11
docs <https://www.sylabs.io/docs/> `_.)
12
12
@@ -16,15 +16,15 @@ Overview
16
16
17
17
Singularity runs on Linux natively and can also be run on Windows and Mac
18
18
through virtual machines (VMs). Here we cover several different methods of
19
- installing Singularity (>={InstallationVersion}) on Linux and also give methods
20
- for downloading and running VMs with singularity pre-installed from `Vagrant
19
+ installing Singularity (>={InstallationVersion}) on Linux and also give methods
20
+ for downloading and running VMs with Singularity pre-installed from `Vagrant
21
21
Cloud <https://app.vagrantup.com/sylabs> `_.
22
22
23
23
Install on Linux
24
24
----------------
25
25
26
- Linux is the only operating system that can support containers because of kernel
27
- features like namespaces. You can use these methods to install Singularity on
26
+ Linux is the only operating system that can support containers because of kernel
27
+ features like namespaces. You can use these methods to install Singularity on
28
28
bare metal Linux or a Linux VM.
29
29
30
30
================
@@ -79,7 +79,7 @@ similar with other package managers.
79
79
Install Go
80
80
----------
81
81
82
- Singularity v3 is written primarily in Go, and you will need Go installed to
82
+ Singularity v3 is written primarily in Go, and you will need Go installed to
83
83
compile it from source.
84
84
85
85
This is one of several ways to `install and configure Go
@@ -109,9 +109,9 @@ Then, set up your environment for Go.
109
109
Download Singularity from a release
110
110
===================================
111
111
112
- You can download Singularity from one of the releases. To see a full list, visit
113
- `the GitHub release page <https://github.com/sylabs/singularity/releases >`_.
114
- After deciding on a release to install, you can run the following commands to
112
+ You can download Singularity from one of the releases. To see a full list, visit
113
+ `the GitHub release page <https://github.com/sylabs/singularity/releases >`_.
114
+ After deciding on a release to install, you can run the following commands to
115
115
proceed with the installation.
116
116
117
117
.. code-block :: none
@@ -127,7 +127,7 @@ Download from source
127
127
128
128
The following commands will install Singularity from the `GitHub repo
129
129
<https://github.com/sylabs/singularity> `_ to ``/usr/local ``. This method will
130
- work for >=v{InstallationVersion}. To install an older tagged release see `older
130
+ work for >=v{InstallationVersion}. To install an older tagged release see `older
131
131
versions of the docs <https://www.sylabs.io/docs/> `_.
132
132
133
133
When installing from source, you can decide to install from either a **tag **, a
@@ -161,8 +161,8 @@ to generate a ``Makefile`` and then ``make`` is used to compile and install.
161
161
make -C ./builddir && \
162
162
sudo make -C ./builddir install
163
163
164
- By default Singularity will be installed in the ``/usr/local `` directory
165
- hierarchy. You can specify a custom directory with the ``--prefix `` option, to
164
+ By default Singularity will be installed in the ``/usr/local `` directory
165
+ hierarchy. You can specify a custom directory with the ``--prefix `` option, to
166
166
``mconfig `` like so:
167
167
168
168
.. code-block :: none
@@ -214,8 +214,8 @@ directly from the `release tarball
214
214
should be named `singularity-<version>.tar.gz `.
215
215
216
216
After installing the :ref: `dependencies <install-dependencies >` and installing
217
- :ref: `Go <install-go >` as detailed above, you are ready download the tarball and
218
- build and install the RPM.
217
+ :ref: `Go <install-go >` as detailed above, you are ready to download the tarball
218
+ and build and install the RPM.
219
219
220
220
.. code-block :: none
221
221
@@ -225,12 +225,12 @@ build and install the RPM.
225
225
sudo rpm -ivh ~/rpmbuild/RPMS/x86_64/singularity-$VERSION-1.el7.x86_64.rpm && \
226
226
rm -rf ~/rpmbuild singularity-$VERSION*.tar.gz
227
227
228
- If you encounter a failed dependency error for golang but installed it from
228
+ If you encounter a failed dependency error for golang but installed it from
229
229
source, build with this command:
230
230
231
231
.. code-block :: none
232
232
233
- rpmbuild -tb --nodeps singularity-${VERSION}.tar.gz
233
+ rpmbuild -tb --nodeps singularity-${VERSION}.tar.gz
234
234
235
235
236
236
Options to ``mconfig `` can be passed using the familiar syntax to ``rpmbuild ``.
@@ -254,11 +254,9 @@ of the default ``/var``) you can do the following:
254
254
Remove an old version
255
255
=====================
256
256
257
- When you run ``sudo make install ``, the command lists files as they are
258
- installed. They must all be removed in order to completely remove Singularity.
259
-
260
- For example, in a standard installation of Singularity 3.0.1 and beyond (when
261
- building from source) you must remove all of these files and directories to
257
+ In a standard installation of Singularity 3.0.1 and beyond (when
258
+ building from source), the command ``sudo make install `` lists all the files as
259
+ they are installed. You must remove all of these files and directories to
262
260
completely remove Singularity.
263
261
264
262
Obviously, this list of files may differ depending on how you install
@@ -440,8 +438,8 @@ With Singularity Desktop for macOS (Alpha Preview):
440
438
The disk image file is available `here <http://repo.sylabs.io/desktop/singularity-desktop-0.0.1alpha.dmg >`_.
441
439
More information can be found `here <https://www.sylabs.io/singularity-desktop-macos/ >`_.
442
440
443
- Singularity is also available via Vagrant (installable with
444
- `Homebrew <https://brew.sh >`_ or manually) or with the Singularity Desktop for
441
+ Singularity is also available via Vagrant (installable with
442
+ `Homebrew <https://brew.sh >`_ or manually) or with the Singularity Desktop for
445
443
macOS (Alpha Preview).
446
444
447
445
With Homebrew:
@@ -494,7 +492,7 @@ You can check the installed version of Singularity with the following:
494
492
Of course, you can also start with a plain OS Vagrant box as a base and then
495
493
install Singularity using one of the above methods for Linux.
496
494
497
- .. _ installation-request :
495
+ .. _ installationrequest :
498
496
499
497
Singularity on a shared resource
500
498
--------------------------------
0 commit comments