Anaconda is a free and open-source package manager of the Python and R programming languages. Anaconda is used to develop software for data science, machine learning, big data processing, scientific computing, and predictive analytics. It is cross-platform and can be installed on several operating systems including Windows, Linux, and macOS. It is very popular among data science professionals as it allows them to install and manage Python dependencies in a single installation easily. It comes with a fantastic collection of scientific Python packages, tools, resources, and IDEs.

In this post, we will show you how to install Anaconda Python Distribution on Oracle Linux 10.

Step 1 – Download Anaconda Installer Script

First, visit the Anaconda official download page and download the latest version of the Anaconda Python installation script using the following command: https://www.anaconda.com/products/individual

wget https://repo.anaconda.com/archive/Anaconda3-2025.12-1-Linux-x86_64.sh

Once the Anaconda installer is downloaded, create the sha256 cryptographic hash of the installer file using the command below:

sha256sum Anaconda3-2025.12-1-Linux-x86_64.sh

You will get the following output:

132f1f312d05e391906b959ad83aa411b97ece55966bb34df011ef41ba60a35c Anaconda3-2025.12-1-Linux-x86_64.sh

Next, compare the above result to the hashes available on the Anaconda website.

If the result matches, you can proceed to the next step.

Step 2 – Install Anaconda on Oracle Linux 8

Next, run the Anaconda installer script to install Anaconda on your system.

bash Anaconda3-2025.12-1-Linux-x86_64.sh

You will be asked to accept the License terms as shown below:

Welcome to Anaconda3 2025.12-1
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 hit Enter. You will be asked to proceed with initialization:

Downloading and Extracting Packages:

Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
   run the following command when conda is activated:

conda config --set auto_activate_base false

Note: You can undo this later by running `conda init --reverse $SHELL`

Proceed with initialization? [yes|no]
[no] >>> yes
no change     /root/anaconda3/condabin/conda
no change     /root/anaconda3/bin/conda
no change     /root/anaconda3/bin/conda-env
no change     /root/anaconda3/bin/activate
no change     /root/anaconda3/bin/deactivate
no change     /root/anaconda3/etc/profile.d/conda.sh
no change     /root/anaconda3/etc/fish/conf.d/conda.fish
no change     /root/anaconda3/shell/condabin/Conda.psm1
no change     /root/anaconda3/shell/condabin/conda-hook.ps1
no change     /root/anaconda3/lib/python3.13/site-packages/xontrib/conda.xsh
no change     /root/anaconda3/etc/profile.d/conda.csh
modified      /root/.bashrc

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

Thank you for installing Anaconda3!

Now, activate the Anaconda installation using the following command:

source ~/.bashrc

You will get the Anaconda shell in the following output:

(base) [root@oraclelinux10 ~]# 

Step 3 – Verify Anaconda Installation

After the successful installation, you can verify the Anaconda installation using the following command:

conda info

You will get the following output:

     active environment : base
    active env location : /root/anaconda3
            shell level : 1
       user config file : /root/.condarc
 populated config files : /root/anaconda3/.condarc
          conda version : 25.11.0
    conda-build version : 25.11.1
         python version : 3.13.9.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=haswell
                          __conda=25.11.0=0
                          __cuda=0=0
                          __glibc=2.39=0
                          __linux=6.12.0=0
                          __unix=0=0
       base environment : /root/anaconda3  (writable)
      conda av data dir : /root/anaconda3/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/anaconda3/pkgs
                          /root/.conda/pkgs
       envs directories : /root/anaconda3/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/25.11.0 requests/2.32.5 CPython/3.13.9 Linux/6.12.0-101.33.4.3.el10uek.x86_64 oracle/10.0 glibc/2.39 solver/libmamba conda-libmamba-solver/25.11.0 libmambapy/2.3.2 aau/0.7.5 c/. s/. e/.
                UID:GID : 0:0
             netrc file : None
           offline mode : False

You can see a list of all packages available in Anaconda using the following command:

conda list

You should see all packages in the following output:

# packages in environment at /root/anaconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0            py39h06a4308_1  
_libgcc_mutex             0.1                        main  
_openmp_mutex             4.5                       1_gnu  
aiohttp                   3.8.1            py39h7f8727e_1  
aiosignal                 1.2.0              pyhd3eb1b0_0  
alabaster                 0.7.12             pyhd3eb1b0_0  
anaconda                  2022.05                  py39_0  
anaconda-client           1.9.0            py39h06a4308_0  
anaconda-navigator        2.1.4            py39h06a4308_0  

Step 4 – Update Anaconda

Anaconda provides a conda utility to update the Anaconda package. First, run the following command to update the conda utility to the latest version.

conda update conda

You will get the following output:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2025.12.2  |       h06a4308_0         125 KB
    conda-25.11.1              |  py313h06a4308_0         1.2 MB
    ------------------------------------------------------------
                                           Total:         1.3 MB

The following packages will be UPDATED:

  ca-certificates                      2025.11.4-h06a4308_0 --> 2025.12.2-h06a4308_0 
  conda                             25.11.0-py313h06a4308_0 --> 25.11.1-py313h06a4308_0 


Proceed ([y]/n)? y

Next, update Anaconda with the following command:

conda update anaconda

Step 5 – Create an Environment Using Anaconda

Anaconda provides an easier way to create an environment to organize projects based on Python versions.

To create a new environment named conda_env, run the following command:

conda create --name conda_env python=3

After creating an environment, activate the environment using the following command:

conda activate conda_env

You will get the following shell:

(conda_env) [root@oraclelinux10 ~]# 

Next, verify the Python version using the following command:

python --version

You will get the following output:

Python 3.14.2

To list all your environments, run the following command:

conda info --envs

You should see the following output:

# conda environments:
#
base                     /root/anaconda3
conda_env             *  /root/anaconda3/envs/conda_env

To deactivate from the Anaconda environment, run the following command:

conda deactivate

To remove the conda_env, run the following command:

conda env remove -n conda_env

Sample output:

Remove all packages in environment /root/anaconda3/envs/conda_env:

Step 6 – Uninstall Anaconda

To uninstall Anaconda from your system, you will need to install the anaconda-clean utility on your system. You can install it using the following command:

conda install anaconda-clean

Once installed, you will get the following output:

## Package Plan ##

  environment location: /root/anaconda3

  added / updated specs:
    - anaconda-clean


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    anaconda-clean-1.1.1       |   py39h06a4308_0           8 KB
    ------------------------------------------------------------
                                           Total:           8 KB

The following NEW packages will be INSTALLED:

  anaconda-clean     pkgs/main/linux-64::anaconda-clean-1.1.1-py39h06a4308_0


Proceed ([y]/n)? y

Next, run the following command to uninstall Anaconda from your system.

anaconda-clean

You will get the following output:

Delete .conda? (y/n): y
Backup directory: /root/.anaconda_backup/2022-06-22T114720

Next, remove all files and directories created by Anaconda using the following command:

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

Next, edit the .bashrc file and remove all lines added by Anaconda:

nano ~/.bashrc

Remove the following lines:

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/root/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/root/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/root/anaconda3/etc/profile.d/conda.sh"
    else
        export PATH="/root/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<

Save and close the file when you are finished.

Conclusion

In this post, we learned how to install Anaconda on Oracle Linux 10. You also learned how to manage Python using the Anaconda For more information, visit the Anaconda documentation page. Try it on dedicated hosting from Atlantic.Net!