+1 vote
in Operating Systems by (56.8k points)
How can I install Miniconda on the Ubuntu machine from terminal? What commands should I try?

1 Answer

+2 votes
by (351k points)
selected by
 
Best answer

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

Related questions

+2 votes
1 answer
+2 votes
1 answer
+4 votes
1 answer

...