Anaconda is a popular Python platform that is widely used in Machine learning and its associated fields. It contains many open-source data packages, and we can also install more than 7500 data packages using Anaconda repositories.

Anaconda can be installed on Linux Mint 20 from the installer script.

Installing Anaconda in Linux Mint 20

Anaconda is available in four versions i.e., Team, Individual, Enterprise, and Commercial. Except for the Individual version, all other versions are paid. Therefore, we will install Anaconda Individual version.

Complete the below-given steps to install Anaconda on Linux Mint 20:

1. Fire up the terminal and update and upgrade the system with the command:

$ sudo apt update && sudo apt upgrade

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-01.png" data-lazy- height="454" src="data:image/svg xml,” width=”974″>

The system will be updated and upgraded successfully.

2. Anaconda is dependent on some additional libraries. Next, install the required dependencies:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-02.png" data-lazy- height="377" src="data:image/svg xml,” width=”974″>

Press ‘y’ to continue installing the dependencies.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-03.png" data-lazy- height="206" src="data:image/svg xml,” width=”974″>

3. As of preparing this post, the latest available version of Anaconda is 2020.11. We will download the installer script in the/tmp directory because the installer script will run once. Next, download the Anaconda installer script by typing the command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-04.png" data-lazy- height="414" src="data:image/svg xml,” width=”974″>

4. When the Anaconda installer script is downloaded successfully, verify the data integrity of the script with the command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-05.png" data-lazy- height="131" src="data:image/svg xml,” width=”974″>

However, this step is optional and you can skip it.

Visit the Anaconda webpage (https://docs.anaconda.com/anaconda/install/hashes/Anaconda3-2020.11-Linux-x86_64.sh-hash/) and make sure that the hash value printed on the command line is equal to the value provided on the official webpage.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-06.png" data-lazy- height="543" src="data:image/svg xml,” width=”974″>

5. Now, install the Anaconda on Linux Mint by executing the command:

$ bash /tmp/Anaconda3-2020.11-Linux-x86_64.sh

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-07.png" data-lazy- height="258" src="data:image/svg xml,” width=”974″>

Press ‘Enter’ to continue installing Anaconda.

While installing Anaconda, you will see the License Agreement text. Keep pressing ‘Enter’ to continue reading the License Agreement.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-08.png" data-lazy- height="608" src="data:image/svg xml,” width=”974″>

Accept the license terms by typing ‘yes’.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-09.png" data-lazy- height="150" src="data:image/svg xml,” width=”974″>

Now, choose the location where Anaconda will be saved and installed.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-10.png" data-lazy- height="183" src="data:image/svg xml,” width=”974″>

The Conda init file initializes the Anaconda3 initialization. Type ‘yes’ to start Anaconda initialization.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-11.png" data-lazy- height="72" src="data:image/svg xml,” width=”974″>

Once the Anaconda is successfully installed, activate the Anaconda using the command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-12.png" data-lazy- height="114" src="data:image/svg xml,” width=”974″>

Anaconda is activated successfully.

Removing Anaconda from Linux Mint 20

If you wish to remove Anaconda from your Linux Mint 20 system, run the below-given command to do so:

$ rm -rf ~/anaconda3 ~/.condarc ~/.conda ~/.continuum

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/install-anaconda-in-linux-mint-20-13.png" data-lazy- height="116" src="data:image/svg xml,” width=”974″>

The above-given command will remove the Anaconda directory and all the files from your system.

Conclusion

Anaconda is available in various editions or versions. However, the Individual edition is free and open-source. Anaconda is a Python distribution and is widely used by many popular organizations to perform the data analysis task. In this post, we have learned about Anaconda installation on Linux Mint 20.

About the author

<img alt="Kamran Sattar Awaisi" data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/52E439DD556343299E3D211D5E577D28-150×150.jpg604d7a7c2c5e6.jpg" height="112" src="data:image/svg xml,” width=”112″>

Kamran Sattar Awaisi

I am a software engineer and a research scholar. I like to write article and make tutorial on various IT topics including Python, Cloud Computing, Fog Computing and Deep Learning. I love to use Linux based operating systems.