Miniconda is a free and open-source package manager for Python. It provides a large variety of packages and is designed for machine learning and data science projects. It can install on all popular operating systems including Windows, Linux, and macOS. Miniconda is used for scientific computing, predictive analytics, and data processing. It provides a conda command-line utility and Miniconda Navigator graphical interface to manage Python packages.

In this post, we will show you how to install Miniconda Python on Rocky Linux 10.

Step 1 – Install Required Dependencies

First, you will need to install some packages required to install Miniconda. You can install all those packages by running the following command:

dnf install libXi libXtst libXrandr libXcursor alsa-lib mesa-libEGL libXcomposite libXScrnSaver libXdamage mesa-libGL -y

Once all the packages are installed, you can move to the next step.

Step 2 – Download Miniconda Installer Script

Next, go to the Anaconda official download page and download the latest version of the Miniconda installer script using the wget command.
Anaconda Download Page

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

 

Step 3 – Install Miniconda

Now, run the downloaded script to install Miniconda on your system.

bash Miniconda3-latest-Linux-x86_64.sh

You will be asked to accept the license terms:

Welcome to Miniconda3 2021.11

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 

Do you accept the license terms? [yes|no]
[no] >>> yes

Type yes and press the Enter key to start the installation. You should see the following output:

Miniconda3 will now be installed into this location:
/root/miniconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/root/miniconda3] >>> 
PREFIX=/root/miniconda3

Preparing transaction: done
Executing transaction: \ 

    Installed package of scikit-learn can be accelerated using scikit-learn-intelex.
    More details are available here: https://intel.github.io/scikit-learn-intelex

    For example:

        $ conda install scikit-learn-intelex
        $ python -m sklearnex my_application.py

    

done
installation finished.
Do you wish the installer to initialize Miniconda3
by running conda init? [yes|no]
[no] >>> yes

Type yes and press the Enter key to initialize Miniconda. You will get the following output:

==> For changes to take effect, close and re-open your current shell. <==

If you'd prefer that conda's base environment not be activated on startup, 
   set the auto_activate_base parameter to false: 

conda config --set auto_activate_base false

Thank you for installing Miniconda3!

Now, run the following command to activate the Miniconda:

source .bashrc

Also Read

How to Install Python 3.10 on Oracle Linux 8

Step 4 – Verify the Miniconda Installation

At this point, Miniconda is installed on your system. You can now verify the Miniconda installation using the following command:

conda info

You should see the following output:

     active environment : base
    active env location : /root/miniconda3
            shell level : 1
       user config file : /root/.condarc
 populated config files : /root/miniconda3/.condarc
          conda version : 25.7.0
    conda-build version : not installed
         python version : 3.13.5.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=haswell
                          __conda=25.7.0=0
                          __glibc=2.39=0
                          __linux=6.12.0=0
                          __unix=0=0
       base environment : /root/miniconda3  (writable)
      conda av data dir : /root/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /root/miniconda3/pkgs
                          /root/.conda/pkgs
       envs directories : /root/miniconda3/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/25.7.0 requests/2.32.4 CPython/3.13.5 Linux/6.12.0-55.21.1.el10_0.x86_64 rocky/10.0 glibc/2.39 solver/libmamba conda-libmamba-solver/25.4.0 libmambapy/2.0.5 aau/0.7.2 c/. s/. e/.
                UID:GID : 0:0
             netrc file : None
           offline mode : False

You can also list all packages included in the Miniconda repository using the following command:

conda list

You will get a full list of packages in the following output:

# packages in environment at /root/miniconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0            py39h06a4308_0  
_libgcc_mutex             0.1                        main  
_openmp_mutex             4.5                       1_gnu  
alabaster                 0.7.12             pyhd3eb1b0_0  
anaconda                  2021.11                  py39_0  
anaconda-client           1.9.0            py39h06a4308_0  
anaconda-navigator        2.1.1                    py39_0  
anaconda-project          0.10.1             pyhd3eb1b0_0  
anyio                     2.2.0            py39h06a4308_1  
appdirs                   1.4.4              pyhd3eb1b0_0  
argh                      0.26.2           py39h06a4308_0  
argon2-cffi               20.1.0           py39h27cfd23_1  
arrow                     0.13.1           py39h06a4308_0  

Step 5 – Update Miniconda Package

To update the Miniconda package, you will need to update conda first. You can update it with the following command:

conda update conda

You will get the following output:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2025.9.9   |       h06a4308_0         127 KB
    certifi-2025.10.5          |  py313h06a4308_0         158 KB
    conda-25.9.1               |  py313h06a4308_0         1.2 MB
    openssl-3.0.18             |       hd6dcaed_0         4.5 MB
    ------------------------------------------------------------
                                           Total:         5.9 MB

The following packages will be UPDATED:

  ca-certificates                      2025.7.15-h06a4308_0 --> 2025.9.9-h06a4308_0 
  certifi                          2025.8.3-py313h06a4308_0 --> 2025.10.5-py313h06a4308_0 
  conda                              25.7.0-py313h06a4308_0 --> 25.9.1-py313h06a4308_0 
  openssl                                 3.0.17-h5eee18b_0 --> 3.0.18-hd6dcaed_0 

Next, install Miniconda using the following command:

conda update miniconda

Step 6 – Uninstall Miniconda

If you want to remove the Miniconda package from your system, you will need to install the Miniconda removal package in your system. You can install it with the following command:

conda install anaconda-clean

You will get the following output:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    anaconda-clean-1.1.0       |   py39h06a4308_1           7 KB
    ------------------------------------------------------------
                                           Total:           7 KB

The following NEW packages will be INSTALLED:

  anaconda-clean     pkgs/main/linux-64::anaconda-clean-1.1.0-py39h06a4308_1


Proceed ([y]/n)? y

Next, run the following command to remove the Anaconda package.

anaconda-clean

You will get the following output:

Delete .conda? (y/n): y
Backup directory: /root/.miniconda_backup/2025-10-16T170117

Next, you will also need to remove the Miniconda directory from the Home directory:

rm -rf ~/miniconda3

Conclusion

In this guide, we explained how to install Miniconda on Rocky Linux 10. We also explained how to update and uninstall Miniconda using the command line. Try it on VPS hosting from Atlantic.Net!