Skip to content

Commit ce507e5

Browse files
committed
getting rid of $'s
1 parent 8fedb47 commit ce507e5

2 files changed

Lines changed: 33 additions & 33 deletions

File tree

pages/docs/install/install-linux.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ You can always download the latest tarball release from <a href="{{ site.repo }}
1616
For example, here is how to download version `2.2` and install:
1717

1818
```bash
19-
$ VERSION=2.2
20-
$ wget https://github.com/singularityware/singularity/releases/download/$VERSION/singularity-$VERSION.tar.gz
21-
$ tar xvf singularity-$VERSION.tar.gz
22-
$ cd singularity-$VERSION
23-
$ ./configure --prefix=/usr/local
24-
$ make
25-
$ sudo make install
19+
VERSION=2.2
20+
wget https://github.com/singularityware/singularity/releases/download/$VERSION/singularity-$VERSION.tar.gz
21+
tar xvf singularity-$VERSION.tar.gz
22+
cd singularity-$VERSION
23+
./configure --prefix=/usr/local
24+
make
25+
sudo make install
2626
```
2727

2828
### Option 2: Download the latest development code
2929
To download the most recent development code, you should use Git and do the following:
3030

3131
```bash
32-
$ git clone {{ site.repo }}.git
33-
$ cd singularity
34-
$ ./configure --prefix=/usr/local
35-
$ make
36-
$ sudo make install
32+
git clone {{ site.repo }}.git
33+
cd singularity
34+
./configure --prefix=/usr/local
35+
make
36+
sudo make install
3737
```
3838

3939
note: The 'make install' is required to be run as root to get a properly installed Singularity implementation. If you do not run it as root, you will only be able to launch Singularity as root due to permission limitations.
@@ -52,18 +52,18 @@ And then install using one of the methods above.
5252
Like the above, you can build an RPM of Singularity so it can be more easily managed, upgraded and removed. From the base Singularity source directory do the following:
5353

5454
```bash
55-
$ ./autogen.sh
56-
$ ./configure
57-
$ make dist
58-
$ rpmbuild -ta singularity-*.tar.gz
59-
$ sudo yum install ~/rpmbuild/RPMS/*/singularity-[0-9]*.rpm
55+
./autogen.sh
56+
./configure
57+
make dist
58+
rpmbuild -ta singularity-*.tar.gz
59+
sudo yum install ~/rpmbuild/RPMS/*/singularity-[0-9]*.rpm
6060
```
6161

6262
Note: if you want to have the RPM install the files to an alternative location, you should define the environment variable 'PREFIX' to suit your needs, and use the following command to build:
6363

6464
```bash
65-
$ PREFIX=/opt/singularity
66-
$ rpmbuild -ta --define="_prefix $PREFIX" --define "_sysconfdir $PREFIX/etc" --define "_defaultdocdir $PREFIX/share" singularity-*.tar.gz
65+
PREFIX=/opt/singularity
66+
rpmbuild -ta --define="_prefix $PREFIX" --define "_sysconfdir $PREFIX/etc" --define "_defaultdocdir $PREFIX/share" singularity-*.tar.gz
6767
```
6868

6969
When using `autogen.sh` If you get an error that you have packages missing, for example on Ubuntu 16.04:

pages/docs/overview/start.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ toc: false
99
## Installation Quick Start
1010

1111
```bash
12-
$ git clone {{ site.repo }}.git
13-
$ cd singularity
14-
$ ./configure --prefix=/usr/local
15-
$ make
16-
$ sudo make install
12+
git clone {{ site.repo }}.git
13+
cd singularity
14+
./configure --prefix=/usr/local
15+
make
16+
sudo make install
1717
```
1818

1919
## Command Quick Start
2020

2121
### Shell into container
2222
```bash
23-
$ singularity shell --contain /tmp/Centos7.img
23+
singularity shell --contain /tmp/Centos7.img
2424
Singularity.Centos7.img> ps aux
2525
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
2626
gmk 1 0.0 0.3 115372 1768 pts/6 S 12:23 0:00 /bin/bash --norc --noprofile
@@ -31,31 +31,31 @@ Singularity.Centos7.img> exit
3131
### I am the same user inside the container as outside the container
3232

3333
```bash
34-
$ id
34+
id
3535
uid=1000(gmk) gid=1000(gmk) groups=1000(gmk),10(wheel),2222(testgroup)
36-
$ singularity exec /tmp/Centos7.img id
36+
singularity exec /tmp/Centos7.img id
3737
uid=1000(gmk) gid=1000(gmk) groups=1000(gmk),10(wheel),2222(testgroup)
3838
````
3939
4040
### Files on the host can be reachable from within the container
4141
```bash
42-
$ echo "Hello World" > /home/gmk/testfile
43-
$ singularity exec /tmp/Centos7.img cat /home/gmk/testfile
42+
echo "Hello World" > /home/gmk/testfile
43+
singularity exec /tmp/Centos7.img cat /home/gmk/testfile
4444
Hello World
4545
````
4646

4747
### Switching operating systems is as easy as pointing to a different image!
4848
```bash
49-
$ singularity exec /tmp/Centos7.img cat /etc/redhat-release
49+
singularity exec /tmp/Centos7.img cat /etc/redhat-release
5050
CentOS Linux release 7.2.1511 (Core)
5151
52-
$ singularity exec /tmp/SL6.img cat /etc/redhat-release
52+
singularity exec /tmp/SL6.img cat /etc/redhat-release
5353
Scientific Linux release 6.8 (Carbon)
5454
55-
$ singularity exec /tmp/Debian-stable.img cat /etc/debian_version
55+
singularity exec /tmp/Debian-stable.img cat /etc/debian_version
5656
8.5
5757
58-
$ singularity exec /tmp/Ubuntu-trusty.img cat /etc/lsb-release
58+
singularity exec /tmp/Ubuntu-trusty.img cat /etc/lsb-release
5959
DISTRIB_ID=Ubuntu
6060
DISTRIB_RELEASE=14.04
6161
DISTRIB_CODENAME=trusty

0 commit comments

Comments
 (0)