Javatpoint Logo
Javatpoint Logo

How to install Python on Ubuntu 16.04 LTS?

Introduction

Python is a high level, dynamic and general purpose programming language. It was designed and developed by Python Software Foundation.

Python is a cross-platform language and was first released on 20, February 1991.

In this tutorial, we are working on the installation process of Python that includes the following steps.

Although Python 2.7 is installed by default in Ubuntu, but we can install other Python versions like python3.

To install python3, just type the following command in the terminal and it will be installed automatically.


Python Installation

1) Update the APT Repository

2) Install Python

2) Verify Python

When we type python it shows default installed python that is 2.7.

Software Python 1

For Python3 type the following command, then it will show the other version as well.

Software Python 2

Well, on the basis of these commands, we can test application for both Python versions.






Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA