Here is how to install Anaconda on your Ubuntu 20.04 system in under two minutes:
Step 1 - Download the installer
Download the Anaconda installer for Linux.
Step 2 - Install for python 3
Install anaconda for python 3 by running the following command:
bash ~/Downloads/Anaconda3-2020.05-Linux-x86_64.sh
Replace the path with the actual path of the downloaded installer.
Step 3 - Licence Agreement
Press Enter to review the license agreement. Then press and hold Enter to
scroll. Then enter yes
to agree to the license agreement.
Then, use Enter to accept the default install location, use CTRL+C to cancel the
installation, or enter another file path to specify an alternate installation
directory. If you accept the default install location, the installer
displays PREFIX=/home/<USER>/anaconda<2/3>
and continues the installation. It
may take a few minutes to complete.
Note: Official anaconda docs recommend you accept the default install
location. Do not choose the path as /usr
for the Anaconda/Miniconda
installation.
The installer prompts you to choose whether to initialize Anaconda Distribution
by running conda init
. Enter yes
.
The installer finishes and displays, Thank you for installing Anaconda!
That’s it
Anaconda is successfully installed on your Ubuntu system.