Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KasmVNC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
docker
KasmVNC
Commits
3c708041
Commit
3c708041
authored
1 year ago
by
Elian Loraux
Browse files
Options
Downloads
Patches
Plain Diff
installation d'anaconda vanilla
parent
5c0afb52
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
install-script/install-anaconda.sh
+14
-23
14 additions, 23 deletions
install-script/install-anaconda.sh
with
14 additions
and
23 deletions
install-script/install-anaconda.sh
+
14
−
23
View file @
3c708041
#!/usr/bin/env bash
#!/usr/bin/env bash
# sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
bash Anaconda3-2023.09-0-Linux-x86_64.sh
-b
bash Anaconda3-2023.09-0-Linux-x86_64.sh
-b
chown
kasm-user:kasm-user anaconda3
chown
kasm-user:kasm-user anaconda3
cat
<<
EOT
>> .bashrc
# # >>> conda initialize >>>
# >>> conda initialize >>>
# # !! Contents within this block are managed by 'conda init' !!
# !! Contents within this block are managed by 'conda init' !!
# __conda_setup="\$('/home/kasm-user/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
__conda_setup="
\$
('/home/kasm-user/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
# if [ \$? -eq 0 ]; then
if [
\$
? -eq 0 ]; then
# eval "\$__conda_setup"
eval "
\$
__conda_setup"
# else
else
# if [ -f "/home/kasm-user/anaconda3/etc/profile.d/conda.sh" ]; then
if [ -f "/home/kasm-user/anaconda3/etc/profile.d/conda.sh" ]; then
# . "/home/kasm-user/anaconda3/etc/profile.d/conda.sh"
. "/home/kasm-user/anaconda3/etc/profile.d/conda.sh"
# else
else
# export PATH="/home/kasm-user/anaconda3/bin:\$PATH"
export PATH="/home/kasm-user/anaconda3/bin:
\$
PATH"
# fi
fi
# fi
fi
# unset __conda_setup
unset __conda_setup
# # <<< conda initialize <<<
# <<< conda initialize <<<
EOT
# ./anaconda3/bin/conda config --set auto_activate_base true
#
# rm Anaconda3-2023.09-0-Linux-x86_64.sh
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