Anaconda on CentOS 7


Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing, that aims to simplify package management and deployment. The distribution includes data-science packages suitable for Windows, Linux, and macOS.


Download Anaconda

To install anaconda we need to download the source from Then choose a suitable source for the operating system. Follow command bellow if using CentOS as the operating system.

[root@server ~]# cd /opt/
[root@server ~]# curl -O

Install Anaconda

After downloading the source, follow the step to install anaconda. Anaconda will be installed on the default directory on /root. Run the source and follow the instruction wizard to install anaconda. This time all configuration will use default one.

[root@server ~]# bash
Start Installation

Press enter to start the installation.

License Agreement

type yes and press enter to accept the license agreement.

Install Location

Press enter to set default installation location.

Set Environment

Type yes and press enter to add anaconda to the environment so anaconda command will be added to the system.

Visual Code

Microsoft VScode is not needed this time, type no and press enter.

The last step is to restart the session so anaconda command will be added to the system. Or just set the environment manually with command bellow.

[root@server ~]# source /root/.bashrc

Leave a Reply

Your email address will not be published. Required fields are marked *

The maximum upload file size: 64 MB.
You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, code, other.