Site icon TestingDocs.com

Install Python IDLE on Linux

Overview

In this tutorial, we will install Python IDE on a Linux machine. We will use the Ubuntu Linux distribution.

IDLE is the Integrated Development and Learning Environment for Python, and it’s a basic editor and interpreter environment that is included with the standard Python installation.

Install Python IDLE

Follow the below steps to install Python IDLE on Ubuntu Linux.

Launch the Terminal window.

You can search for ‘Terminal’ in the Applications menu. The keyboard shortcut is Ctrl + Alt + T

Update Package Lists

Before installing new software, updating your package lists is a good practice. Run the following command in the terminal:

$ sudo apt-get update

Execute the following command

$ sudo apt-get install idle

We can also specify the version in the command. For example, to install IDLE 3, run the following command:

$ sudo apt-get install idle3

Launch Python IDLE

After installation, you can start the Python IDLE interactive shell by typing idle3 in the terminal (for Python 3), just idle, or by searching for it in the Applications Menu.

$ idle3

Python Tutorials

Python Tutorial on this website can be found at:

https://www.testingdocs.com/python-tutorials/

More information on Python is available at the official website:

https://www.python.org

Exit mobile version