Anaconda on Linux

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 activate 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

Then install whatever conda environments you might need.

 

If you aren't very familiar with using linux these are some resources to help you.

Last modified: 2021/09/08 15:56:48.082622 GMT-4 by joseph.r.kline.1
Created: 2021/01/13 15:29:48.105066 US/Eastern by joseph.r.kline.1.

Categories

Search the Knowledge Base

Include:

Quick search results

    Admin Options: Edit this Document