Here are three easy steps to install Miniconda using the Linux commands:
- Create a directory where you want to install Miniconda.
mkdir -p ~/miniconda3
- Download the latest Miniconda installer for Ubuntu from the Anaconda repository.
wget https:// repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
- Run the bash command to install Miniconda in the directory.
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
You can now delete the installer from the directory.
rm -rf ~/miniconda3/miniconda.sh
Once Miniconda is installed, you can activate the environment by running the following command:
source miniconda3/bin/activate