/  Technology   /  How to Install Python Anaconda Distribution on Ubuntu

How to Install Python Anaconda Distribution on Ubuntu

Python

Python is a very famous and easy language to learn. It is famous for its simple programming syntax, code readability, and English like commands. Also, Python is the most popular language used by data scientists around the world. There are many features because of which it is popular among the developer’s community as well as in industries.

In this article, we will walk through the process of installing Anaconda distribution on ubuntu.



Anaconda

Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing. It contains many open source packages. It is a very good tool for working on data science. It comes with many built-in packages such as NumPy, scipy, pandas, etc. which are required for working on data science. Additional packages can be individually installed from the Anaconda repository using Anaconda’s package manager, conda, or pip install commands.

Installation of Anaconda is the recommended way for installing Jupyter Notebooks or Spyder. It is famous because it combines many of the tools used in data science and machine learning into one simple installation.

Now let’s start with the installation process.


Install Anaconda

The best way to download the Anaconda is by downloading the Anaconda installer for Linux. You can download it from the official Anaconda website by choosing the version compatible with your system. You can click the link here.

How to Install Python Anaconda Distribution on Ubuntu 1 (i2tutorials)



Once you complete downloading the package, copy this package to home folder and use the following command in terminal to install Anaconda.

bash ./Anaconda3-2020.02-Linux-x86_64.sh


At the time of writing this article, the latest version is 2020.02, but you should use a later stable version if it is available.

Next, use the default options by entering yes at each step to continue when the installer will prompt during the installation process.

Finally, the installer will finish the installation process and displays “Thank you for installing Anaconda3!”

Now you are ready to use Anaconda.


Accessing Python

You can access python in two ways in your system. You can either use ubuntu terminal or Anaconda prompt. For that you need to open either of the two prompt. In this we will try accessing python using ubuntu terminal. For that open the terminal use the command to start python.

$python


And python will get started. You can start by creating a sample program by writing code.

$print(‘Welcome to Python 3 in ubuntu 18.4 LTS’)
How to Install Python Anaconda Distribution on Ubuntu 2 (i2tutorials)


Anaconda Prompt

Anaconda prompt is a command line shell. It helps us to connect with the python prompt and you even start spyder, Jupyter from here manually. You can also install various libraries and packages using Anaconda Prompt.


Anaconda Navigator

Navigator is automatically included with Anaconda version 4.4 and above. It is a desktop graphical user interface which allows user to launch applications and manage conda package without using command-line commands. You can start it from the terminal by using the command.

$ anaconda-navigator

How to Install Python Anaconda Distribution on Ubuntu 3 (i2tutorials)


Jupyter Notebook, Jupyter Lab, Spyder, rstudio, orange are the default applications provided to us. Some applications preinstalled while some you need to install. You can directly open any application by launching it from here. If you want to get some different application you can also install it. It looks something like this

How to Install Python Anaconda Distribution on Ubuntu 4 (i2tutorials)


Spyder

Spyder is an open-source Integrated Development Environment It provides Editor to write code, a console to evaluate it, and view the results at any time, a variable explorer to examine the variables defined during evaluation and many other features for effectively developing the programs or application. It is automatically included with Anaconda.

You can open it by launching it from Anaconda Navigator as discussed above or you can directly open it from terminal.

How to Install Python Anaconda Distribution on Ubuntu 5 (i2tutorials)


Jupyter

The Jupyter Notebook  is an open-source web application that you can use to create and share documents that contain live code, equations, visualization, and text. It is a very useful tool for data analysis, data engineering, data scientists. It is automatically included with Anaconda just like spyder.

You can open it by launching from Anaconda Navigator as discussed above or you can directly open it from a terminal.


How to Install Python Anaconda Distribution on Ubuntu 6 (i2tutorials)

Hope the above article will help in installing Anaconda on your system and understanding it’s different features.

Leave a comment