Skip to content

Commit eb3142a

Browse files
authored
Merge pull request #191 from sushma-4/master
Updated the Quick-start guide
2 parents cac8567 + c4fe9a8 commit eb3142a

File tree

4 files changed

+125
-121
lines changed

4 files changed

+125
-121
lines changed

definition_files.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
.. _definition-files:
2+
.. _definitionfiles:
33

44
================
55
Definition Files

installation.rst

+22-24
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Installation
66
.. _sec:installation:
77

88
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
1010
installing earlier versions of Singularity please see `earlier versions of the
1111
docs <https://www.sylabs.io/docs/>`_.)
1212

@@ -16,15 +16,15 @@ Overview
1616

1717
Singularity runs on Linux natively and can also be run on Windows and Mac
1818
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
2121
Cloud <https://app.vagrantup.com/sylabs>`_.
2222

2323
Install on Linux
2424
----------------
2525

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
2828
bare metal Linux or a Linux VM.
2929

3030
================
@@ -79,7 +79,7 @@ similar with other package managers.
7979
Install Go
8080
----------
8181

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
8383
compile it from source.
8484

8585
This is one of several ways to `install and configure Go
@@ -109,9 +109,9 @@ Then, set up your environment for Go.
109109
Download Singularity from a release
110110
===================================
111111

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
115115
proceed with the installation.
116116

117117
.. code-block:: none
@@ -127,7 +127,7 @@ Download from source
127127

128128
The following commands will install Singularity from the `GitHub repo
129129
<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
131131
versions of the docs <https://www.sylabs.io/docs/>`_.
132132

133133
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.
161161
make -C ./builddir && \
162162
sudo make -C ./builddir install
163163
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
166166
``mconfig`` like so:
167167

168168
.. code-block:: none
@@ -214,8 +214,8 @@ directly from the `release tarball
214214
should be named `singularity-<version>.tar.gz`.
215215

216216
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.
219219

220220
.. code-block:: none
221221
@@ -225,12 +225,12 @@ build and install the RPM.
225225
sudo rpm -ivh ~/rpmbuild/RPMS/x86_64/singularity-$VERSION-1.el7.x86_64.rpm && \
226226
rm -rf ~/rpmbuild singularity-$VERSION*.tar.gz
227227
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
229229
source, build with this command:
230230

231231
.. code-block:: none
232232
233-
rpmbuild -tb --nodeps singularity-${VERSION}.tar.gz
233+
rpmbuild -tb --nodeps singularity-${VERSION}.tar.gz
234234
235235
236236
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:
254254
Remove an old version
255255
=====================
256256

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
262260
completely remove Singularity.
263261

264262
Obviously, this list of files may differ depending on how you install
@@ -440,8 +438,8 @@ With Singularity Desktop for macOS (Alpha Preview):
440438
The disk image file is available `here <http://repo.sylabs.io/desktop/singularity-desktop-0.0.1alpha.dmg>`_.
441439
More information can be found `here <https://www.sylabs.io/singularity-desktop-macos/>`_.
442440

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
445443
macOS (Alpha Preview).
446444

447445
With Homebrew:
@@ -494,7 +492,7 @@ You can check the installed version of Singularity with the following:
494492
Of course, you can also start with a plain OS Vagrant box as a base and then
495493
install Singularity using one of the above methods for Linux.
496494

497-
.. _installation-request:
495+
.. _installationrequest:
498496

499497
Singularity on a shared resource
500498
--------------------------------

0 commit comments

Comments
 (0)