Print this article Edit this article
Anaconda on Linux
Text that is bold and italicized are commands to run in the terminal/console/ssh session.
Get the latest version of minicoda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
Then run the installer
bash Miniconda3-latest-Linux-x86_64.sh
I have done this for a research group with a server by the name of enigma. It has this filesystem/directory structure on it. Substitute for you host's filesystem/directory structure.
I installed it here:
~/miniconda3
You can change the "~" to be any path you want if you don't want to install it in your home directory, which is what "~" is a shorthand for.
I did not initialize it. Mostly because that will put some settings in your shell config that can cause problems with some programs like Thinlinc.
Instead I will manually do the following once I'm logged into this host
If you are using bash for your shell:
export PATH=~/miniconda3/bin:$PATH
If you are using tcsh/csh for your shell:
setenv PATH ~/miniconda3/bin:$PATH
Then
source ~/miniconda3/etc/profile.d/conda.sh
You can also put those 2 lines in a file you can run instead of having to copy and paste, or type it each time. You can then execute that file instead.
If you aren't very familiar with using linux
If you are using conda and you get an error about something not being found
Then install whatever conda environments you might need.
conda install package
Anaconda has documentation of managing conda environments.
If you aren't very familiar with using linux these are some resources to help you.
Last Modified:
Dec 12, 2022 2:29 pm US/Eastern
Created:
Jan 13, 2021 3:29 pm US/Eastern
by
admin
JumpURL: