Miniconda is a minimalistic and free installer for conda. It includes conda, Python, and the small number of packages that the Python and conda depend on. Moreover, it also includes a small number of useful packages like requests, PIP, and many more.

Linux Mint is used for preparing this post.

Installing Miniconda on Linux Mint

The Miniconda’s installation on Linux Mint is very easy and straightforward. It can be installed on Linux Mint from the installer script.

Open terminal and download Miniconda latest installer script:

$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/1-14.jpg" data-lazy- height="360" src="data:image/svg xml,” width=”806″>

The Miniconda’s installer script will be downloaded successfully.

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

$ chmod x Miniconda3-latest-Linux-x86_64.sh

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/2-13.jpg" data-lazy- height="102" src="data:image/svg xml,” width=”810″>

Next, execute the installer script using the command below:

$ ./Miniconda3-latest-Linux-x86_64.sh

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/3-13.jpg" data-lazy- height="218" src="data:image/svg xml,” width=”808″>

Press Enter to continue installing Miniconda. The Miniconda’s License Agreement will be displayed on terminal window. 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/4-12.jpg" data-lazy- height="422" src="data:image/svg xml,” width=”810″>

Type yes and accept the license terms.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/5-12.jpg" data-lazy- height="82" src="data:image/svg xml,” width=”820″>

Next, the system will ask for the Miniconda installation location. By default, a new Miniconda directory will be created in your home directory and will be installed there. You can press enter to confirm the location, or you can specify a different location for Miniconda as well.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/6-13.jpg" data-lazy- height="156" src="data:image/svg xml,” width=”814″>

Lastly, if you want the installer to initialize Minicoda3 by running conda in it, then press yes. Otherwise, you can press Enter, and it will not initialize the Miniconda3.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/7-9.jpg" data-lazy- height="76" src="data:image/svg xml,” width=”812″>

Getting Started with Miniconda on Linux Mint

Once the Miniconda is successfully installed, activate the Miniconda with the command below:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/8-5.jpg" data-lazy- height="94" src="data:image/svg xml,” width=”812″>

Miniconda will be activated successfully.

To verify the installation and check the Miniconda’s installed version, type the given command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/9-4.jpg" data-lazy- height="510" src="data:image/svg xml,” width=”816″>

Now let’s update the Miniconda package by typing the following:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/10-4.jpg" data-lazy- height="506" src="data:image/svg xml,” width=”810″>

Miniconda shows the list of all the packages that need to be updated. Type “y” to update the packages.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/11-3.jpg" data-lazy- height="306" src="data:image/svg xml,” width=”814″>

Miniconda. Let’s install the Python requests package with conda install will the following command:

$ conda install requests-2.25.1

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/12-2.jpg" data-lazy- height="128" src="data:image/svg xml,” width=”810″>

To deactivate Miniconda, use the command below:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/13-2.jpg" data-lazy- height="106" src="data:image/svg xml,” width=”812″>

Conclusion

Miniconda is a small and bootstrap version of conda. It includes less but important packages. Miniconda can be installed on Linux Mint from the installer script, and this post focuses on the installation and usage of Miniconda on Linux Mint.

About the author

<img alt="Kamran Sattar Awaisi" data-lazy-src="https://kirelos.com/wp-content/uploads/2021/03/echo/52E439DD556343299E3D211D5E577D28-150×150.jpg605eabc85370a.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.