IDLE stands for I amntegrated DeveLtie Environment. This is a graphical user interface for Python development that is well-suited for beginners as it has a simple list of IDE features. The IDE allows you to edit, execute, and debug Python programs in a simple GUI environment. It is supported on all major platforms such as Windows, Linux, Mac OS, etc.
It supports the following functions:
- Full-featured text editor
- Built-in debugger for finding errors
- Features a built-in and interactive Python shell
- Word Autocomplete
- Cross Platform Support
Visit the following white papers for more information on IDLE:
In this article, we will explain the methods by which you can install IDLE on your Linux system using the command line.
We used the Debian 10 OS to run the commands and procedures mentioned in this article.
By default, Python is installed in recent releases of Debian and typically comes with an IDLE application. However, if you have a minimal installation without an IDLE application, you can use the following method to install it:
Open a command prompt, Terminal application on your Debian OS. To do this, go to the “Actions” tab, located in the upper left corner of the desktop. Then, in the search menu that appears, find the “Terminal” application and launch it.
Now, first we need to update the package repository. To do this, execute the following command in the terminal:
$ sudo apt-get update
Then, to install IDLE3 on your system, run the following command as sudo in Terminal:
$ sudo apt-get install idle3
The system will prompt you to continue the installation by providing you with the Y / n option. Press y and installation starts on your system.
After installation is complete, you can run IDLE either through the terminal or through the application menu.
To start IDLE through the terminal, enter the following command in the terminal:
To start through the application menu, press the super-key on the keyboard and in the search bar that appears, find IDLE using the keyword as follows:
Click on the IDLE icon shown in the results to launch it.
When you run IDLE, the following shell window appears. This allows you to run Python commands and see the results immediately, without having to create a program. The three “more” or “>” characters indicate that your code will begin at this point.
For example, let’s try typing something. Place the cursor after the characters “>>>”, then enter the next line and press Enter.
Print (“Hello World!”)
You will get the output as follows:
To save this file, select “Save / Save As” in the “File” menu.
In this article, we learned how to install the IDLE Python IDE on a Debian 10 computer. Now you can integrate this Python IDE into your Debian system and take advantage of its easy-to-use GUI-based feature set.
How to install IDLE Python IDE in Debian 10