Skip to content

Instantly share code, notes, and snippets.

@arose13
Last active November 11, 2024 05:41
Show Gist options
  • Save arose13/fcc1d2d5ad67503ba9842ea64f6bac35 to your computer and use it in GitHub Desktop.
Save arose13/fcc1d2d5ad67503ba9842ea64f6bac35 to your computer and use it in GitHub Desktop.
Install Miniconda in Ubuntu
# Setup Ubuntu
sudo apt update --yes
sudo apt upgrade --yes
# Get Miniconda and make it the main Python interpreter
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p ~/miniconda
rm ~/miniconda.sh
export PATH=~/miniconda/bin:$PATH
@ShlomoAbraham
Copy link

@Zhangchenkai, you're missing a '3' in the last two lines:

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh

@brando90
Copy link

yes please add

export PATH=~/miniconda/bin:$PATH

@brando90
Copy link

@Zhangchenkai, you're missing a '3' in the last two lines:

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh

the script works as given @ShlomoAbraham

@francobarrionuevoenv21
Copy link

@Zhangchenkai, you're missing a '3' in the last two lines:

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh

Sorry, but a i tried this way but spyder still not recognizing the package. Any help?

@elejke
Copy link

elejke commented Aug 1, 2021

@harishkhollam
Copy link

This worked perfectly for me when I was setting my Windows 11 pc with WSL Ubuntu. faced an issue while I was installing/creating virtual env on WSL Ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment