In this article I will go through the installation process of Anaconda onto Linux Mint.
Step 1. Download Anaconda
Go to anaconda.com and download the installation file as shown below.
After the downloading completes you will see the installation shell script:
Step 2. Run the installation script
Now open the terminal (CTRL+ALT+T) navigate to the directory where the installation file was downloaded and run the the script:
You will be asked to press Enter, and then to agree with the license terms, and then press Enter again to confirm the location of the installation:
Once the installation is finished you will be asked if you want to initialize Anaconda3 – answer yes. This will install the virtual environment which will be activated each time you open a terminal.
Then you will see the following message:
As you can see below the Anaconda virtual environment is activated in a new terminal without any actions:
You can disable this behavior by running:
conda config --set auto_activate_base false
The terminal output might be a bit different in your case, but generally should be pretty straightforward.
Step 3. Run Anaconda Navigator
To launch Anaconda GUI run the following command in terminal:
The GUI will open and you can start using the offered applications
On my initial attempt to run anaconda-navigator after fresh installation I got this error:
UnboundLocalError: local variable ‘DISTRO_NAME’ referenced before assignment
Quick Google search revealed (https://github.com/ContinuumIO/anaconda-issues/issues/11635) that the issue is solved by running:
conda update anaconda-navigator
I hope these instructions helped you to install Anaconda on your machine. Thank you for reading.