-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Installation Ubuntu 20.04 Installing MiniConda3
mbdash edited this page Sep 3, 2020
·
4 revisions
First, decide if you want to install for all users or current user.
mbdash: I install for all users on my VMs
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
# ./Miniconda3-latest-Linux-x86_64.sh
sudo ./Miniconda3-latest-Linux-x86_64.sh
# choose default install location
Run the Install commands above for single user, but when asked for an install location,
set the install path to: >>> /opt/miniconda3
.
See below:
# Miniconda3 will now be installed into this location:
# /root/miniconda3
#
# - Press ENTER to confirm the location
# - Press CTRL-C to abort the installation
# - Or specify a different location below
[/root/miniconda3] >>> /opt/miniconda3
In some circumstances, you might want to ensure your user group has access to miniconda3.
cd /opt/
sudo chmod 770 -R miniconda3/
sudo chown -R :USERGROUP miniconda3/
exec $SHELL
# USER been your username
cd /home/USER/
su USER
nano .bashrc
export PATH="/opt/miniconda3/bin:$PATH"
exec $SHELL
conda update conda
conda init bash
exec $SHELL