Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
setup_lubuntu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nvmnghia
setup_lubuntu
Commits
7be7b819
Commit
7be7b819
authored
Oct 11, 2019
by
nvmnghia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force install conda
parent
a68ad7f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SetupLubuntu.sh
SetupLubuntu.sh
+2
-2
No files found.
SetupLubuntu.sh
View file @
7be7b819
...
...
@@ -13,7 +13,7 @@ usr=$(env | grep SUDO_USER | cut -d= -f 2)
apt update
-y
apt
install
-y
openssh-server curl wget
apt
install
-y
openssh-server curl wget
cmake
# https://stackoverflow.com/a/5171935/5959593
...
...
@@ -64,7 +64,7 @@ echo "Install anaconda"
ANACONDA_LATEST
=
$(
wget
-r
--spider
-l
1 https://repo.anaconda.com/archive/ 2>&1 |
grep
Anaconda3 |
grep
-v
ppc64le |
grep
-m
1 Linux
)
ANACONDA_LATEST
=
${
ANACONDA_LATEST
##*--
}
# Keep the https part, which is right after '-- ' ^ -m 1 to grep the first match
wget
-O
anaconda.sh
$ANACONDA_LATEST
sudo
-u
$usr
bash ./anaconda.sh
-p
$HOME
/anaconda
sudo
-u
$usr
bash ./anaconda.sh
-
f
-
p
$HOME
/anaconda
rm
-rf
anaconda.sh repo.anaconda.com
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment