Install Anaconda Python on Ubuntu


Anaconda is a distribution of the Python programming language, which is used by data scientists all over the world. Anaconda python also includes an environment manager and a package manager. All of this is free of charge because Anaconda Python is an open source project.

If you’re interested in Anaconda Python and would like try it out, or use it on Ubuntu 17.10 Artful Aardvark, you can do so very easily. This is what this article is about. I am going to show you step by step how to install and configure Anaconda Python on Ubuntu 17.10 Artful Aardvark. Let’s get started.

Downloading Anaconda Python

To download the Anaconda Python, go to , the official website of Anaconda Python.


Click on the green “Download” button on the top right corner, it will take you to the download page.  Scroll down a little bit and select Linux. By default, Linux should be selected if you’re using Ubuntu or any other Linux distribution.

Download Anaconda

As of this writing, the latest version of Anaconda is 5.01 and you can download Python 3.6 or Python 2.7.  I will go for Python 3.6 version of Anaconda 5.01. Anaconda is available for 32bit or 64bit operating systems. If you click on “Download”, the correct installer should be downloaded. If you want to be extra sure, just click on the 64bit or 32bit download links below the “Download” button.  It’s a pretty big file. Wait till the file is downloaded.

Installing Anaconda Python

To install Anaconda Python, go to the directory where you downloaded Anaconda Python and run the following commands from the terminal:

“cd ~/Downloads”
“sudo bash”

Once you press <Enter>, you should see something like this:

Press <Enter> again and you should see this license agreement window. Keep pressing <Enter> or <SpaceBar> to go forward.

Once you see the following prompt, stop pressing <Enter> or <Space> and type in ‘yes’ and press <Enter>

Then Anaconda Python will ask you for a location where it will be installed. A good option Is ‘/opt/anaconda3’, but you can leave it as it is if you like. I will just go with the default.

Once you press <Enter>, the installation should begin. Wait a few minutes for it to complete.

Once the installation is complete, it should ask you whether it should add the path of your Anaconda Python to the PATH environment variable in your .bashrc file. Type in ‘yes’ and press <Enter>

At this point the installation is complete. You should see the following window.

Now close your terminal and open another terminal (Ctrl+Alt+T on Ubuntu). Then can verify your installation by running the following command:

“conda –version”

So Anaconda Python is installed and working correctly on Ubuntu 17.10. Even though it’s tested on Ubuntu 17.10, it should work the same way on other Linux distributions. Thanks for reading this article.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Lock Screen on Ubuntu

The lock screen is an essential security feature of any operating system. Ubuntu is a Linux distro and that also puts a...

How to Install and Use Restic on Ubuntu 18.04

Restic is an easy to use program for taking backups. Restic can be used to take backups locally and remotely. Restic is...

How to change from DHCP to Static IP Address in Ubuntu 17.04

Before we proceed with how to change from DHCP to Static IP Address in Ubuntu 17.04, lets review what a DHCP is and why...