Created
July 18, 2024 23:01
-
-
Save fabriciorsf/56ff52645f4fc1ff0004d18ccf11ea5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p ~/Downloads | |
sudo mkdir -p /opt/programs | |
sudo chmod -R a+rwx /opt/programs/. | |
mkdir -p /opt/programs/miniconda3 | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/Downloads/miniconda.sh | |
bash ~/Downloads/miniconda.sh -b -u -p /opt/programs/miniconda3 | |
echo 'export MINICONDA="/opt/programs/miniconda3"' | sudo tee /etc/profile.d/miniconda.sh | |
echo 'export CONDA="${MINICONDA}/bin"' | sudo tee --append /etc/profile.d/miniconda.sh | |
source /etc/profile.d/miniconda.sh | |
rm -rf ~/Downloads/miniconda.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment