Install Conda on Ubuntu
ID: install-conda-on-ubuntu
Tested on Ubuntu 20.04:Add to your and then to use it on a shell e.g. with Python 3.9 create the environment with:and then use it with:Now you can use
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
.bashrc
:PATH="$PATH:$HOME/miniconda3/bin"
conda create -y -n mytest3.9 python=3.9
eval "$(command conda 'shell.bash' 'hook' 2> /dev/null)"
conda activate mytest3.9
python
and pip
normally from inside that mytest3.9
environment.At that time, the exact installer under
latest
appears to have been: repo.anaconda.com/miniconda/Miniconda3-py311_23.11.0-2-Linux-x86_64.sh New to topics? Read the docs here!