How to Install IDLE Python IDE on Ubuntu Desktop 16.04

In this article we are going to look at how to install Python IDLE IDE on Ubuntu Desktop 16.04. We are going to install IDLE IDE for both Python 2 and Python 3.

Install idle for Python 3

Easiest way to install idle on Ubuntu is to use apt-get install command from the command line. To install Ubuntu idle3 execute following command.

sudo apt-get install idle3

This will install idle python editor for Python 3 on Your Ubuntu Desktop 16.

You can launch idle3 from the Ubuntu software menu, or type idle3 on the command line.

How to Install IDLE Python IDE on Ubuntu Desktop 16.04

Install idle ide for python 2

To install idle editor for python 2 on Ubuntu execute following command.

sudo apt-get install idle3

This will install Ubuntu idle editor for python 2.

Python idle on Ubuntu have both python interpreter and The Python code editor, so you can run your script within the text editor By simply pressing F5 key on the Keyboard.