Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Singularity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IMGW
Singularity
Commits
80d3ca9c
Commit
80d3ca9c
authored
3 years ago
by
Marty Kandes
Browse files
Options
Downloads
Patches
Plain Diff
Remove sudo from naked-singularity.sh helper script
parent
ff62c940
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
naked-singularity.sh
+24
-24
24 additions, 24 deletions
naked-singularity.sh
with
26 additions
and
26 deletions
README.md
+
2
−
2
View file @
80d3ca9c
...
@@ -10,7 +10,7 @@ run on high-performance computing systems.
...
@@ -10,7 +10,7 @@ run on high-performance computing systems.
Install Singularity on your Linux desktop, laptop, or virtual machine.
Install Singularity on your Linux desktop, laptop, or virtual machine.
```
bash
```
bash
./naked-singularity.sh
install
sudo
./naked-singularity.sh
install
```
```
## Build a Singularity container from a definition file
## Build a Singularity container from a definition file
...
@@ -57,7 +57,7 @@ University of California, San Diego
...
@@ -57,7 +57,7 @@ University of California, San Diego
## Version
## Version
1.
6.9
1.
7.0
## Last Updated
## Last Updated
...
...
This diff is collapsed.
Click to expand it.
naked-singularity.sh
+
24
−
24
View file @
80d3ca9c
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#
#
# LAST UPDATED
# LAST UPDATED
#
#
#
Tu
esday,
February 23rd
, 2021
#
Wedn
esday,
June 16th
, 2021
#
#
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
...
@@ -122,36 +122,36 @@ naked::install() {
...
@@ -122,36 +122,36 @@ naked::install() {
if
[[
"
${
os_release_id
}
"
=
'centos'
]]
;
then
if
[[
"
${
os_release_id
}
"
=
'centos'
]]
;
then
log::output
'Running yum update ...'
log::output
'Running yum update ...'
sudo
yum
-y
update
yum
-y
update
log::output
'Installing Singularity dependencies ...'
log::output
'Installing Singularity dependencies ...'
sudo
yum
-y
groupinstall
'Development Tools'
yum
-y
groupinstall
'Development Tools'
sudo
yum
-y
install
epel-release
yum
-y
install
epel-release
sudo
yum
-y
install
openssl-devel
yum
-y
install
openssl-devel
sudo
yum
-y
install
libuuid-devel
yum
-y
install
libuuid-devel
sudo
yum
-y
install
libseccomp-devel
yum
-y
install
libseccomp-devel
sudo
yum
-y
install
wget
yum
-y
install
wget
sudo
yum
-y
install
squashfs-tools
yum
-y
install
squashfs-tools
sudo
yum
-y
install
cryptsetup
yum
-y
install
cryptsetup
sudo
yum
-y
install
debootstrap
yum
-y
install
debootstrap
elif
[[
"
${
os_release_id
}
"
=
'ubuntu'
]]
;
then
elif
[[
"
${
os_release_id
}
"
=
'ubuntu'
]]
;
then
log::output
'Running apt-get update ...'
log::output
'Running apt-get update ...'
sudo
apt-get
-y
update
apt-get
-y
update
log::output
'Installing Singularity dependencies ...'
log::output
'Installing Singularity dependencies ...'
sudo
apt-get
-y
install
build-essential
apt-get
-y
install
build-essential
sudo
apt-get
-y
install
libssl-dev
apt-get
-y
install
libssl-dev
sudo
apt-get
-y
install
uuid-dev
apt-get
-y
install
uuid-dev
sudo
apt-get
-y
install
libgpgme-dev
apt-get
-y
install
libgpgme-dev
sudo
apt-get
-y
install
squashfs-tools
apt-get
-y
install
squashfs-tools
sudo
apt-get
-y
install
libseccomp-dev
apt-get
-y
install
libseccomp-dev
sudo
apt-get
-y
install
wget
apt-get
-y
install
wget
sudo
apt-get
-y
install
pkg-config
apt-get
-y
install
pkg-config
sudo
apt-get
-y
install
git
apt-get
-y
install
git
sudo
apt-get
-y
install
cryptsetup-bin
apt-get
-y
install
cryptsetup-bin
sudo
apt-get
-y
install
debootstrap
apt-get
-y
install
debootstrap
else
else
...
@@ -193,7 +193,7 @@ naked::install() {
...
@@ -193,7 +193,7 @@ naked::install() {
cd
singularity
cd
singularity
./mconfig
#--prefix=/opt/singularity
./mconfig
#--prefix=/opt/singularity
make
-C
./builddir
make
-C
./builddir
sudo
make
-C
./builddir
install
make
-C
./builddir
install
log::output
'Checking if Singularity was installed successully ...'
log::output
'Checking if Singularity was installed successully ...'
singularity
--version
singularity
--version
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment