How to install and use Miniconda on Linux Mint

Miniconda is a minimalistic and free installer for conda. It includes conda, Python, and a small number of packages that Python and conda depend on. In addition, it also includes a small number of useful packages like Requests, PIPs, and many more

Installing Miniconda on Linux Mint

The process is very simple. It can be installed on Linux Mint from an installer script. Open a terminal and download the latest Miniconda installer script:


The downloaded setup script file is not executable. So now we have to make this installer script executable with the following command:

chmod + x

Then run the installer script using the following command:


Press Enter to continue installing Miniconda. The Miniconda license agreement will be displayed in the terminal window. Keep pressing Enter to continue reading the license agreement. Enter ‘Yes‘ and accept the license terms Enter ‘Yes‘ and accept the license terms. The system will then ask for the installation location of Miniconda. By default, a new Miniconda directory will be created in your home directory and installed there. You can press Enter to confirm the location, or you can also specify a different location for Miniconda. Finally, if you want the installer to initialize Minicoda3 by running conda in it, click Yes. Otherwise, you can press Enter and Miniconda3 will not initialize.

Getting Started with Miniconda on Linux Mint

After successfully installing Miniconda, activate Miniconda with the following command:

source ~ / .bashrc

Miniconda will be activated successfully. To test the installation and check the installed version of Miniconda, enter the above command:

conda info

Then you need to update the Miniconda package by typing the following:

conda update --all

Miniconda shows a list of all packages that need to be updated. Enter “y” to update packages. Next, you need to install the custom Python request package using conda install using the following command:

conda install requests-2.25.1

To deactivate Miniconda use the command below:

conda deactivate

Was this article helpful?

Related Articles

Leave A Comment?