How to install Miniconda - Anaconda in the Researcher Workbench

  • Updated

In the Researcher Workbench, you can install Miniconda via the terminal. Miniconda is a minimal installer for the Anaconda distribution, which is widely used for managing packages and environments in Python and R programming. Miniconda serves as an excellent choice for users who prefer a more streamlined and customizable approach to package and environment management in their workflows. Using Miniconda, you can easily install, update, and remove packages using the command-line interface. 

How to install Miniconda in the Researcher Workbench (in the terminal)

# Create the directory ~/miniconda3 if it does not already exist
mkdir -p ~/miniconda3

# Download the latest Miniconda3 installer for Linux x86_64 architecture
# and save it as ~/miniconda3/miniconda.sh
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh

# Run the Miniconda3 installer script in batch mode (-b), update the installation (-u),
# and specify the installation path as ~/miniconda3 (-p ~/miniconda3)
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3

# Remove the Miniconda3 installer script after the installation is complete
rm ~/miniconda3/miniconda.sh

# initialization:
~/miniconda3/bin/conda init bash

# use immediately in the current shell session
source ~/.bashrc

# check conda environments
conda info --env
# Locate the path to the conda executable
which conda

How to install Anaconda in the Researcher Workbench (in the terminal)

# check here, https://repo.anaconda.com/archive/, for the latest version
# download
mkdir -p ~/anaconda3
wget https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Linux-x86_64.sh -O ~/anaconda3/anaconda.sh
# install
bash ~/anaconda3/anaconda.sh -b -u -p ~/anaconda3
rm ~/anaconda3/anaconda.sh
# initiate
~/anaconda3/bin/conda init bash
source ~/.bashrc

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.