The next step is to run the following command in order to install IDLE3. The system will ask you the password for sudo and then execute the rest of the command when you have provided a correct password. You need to run this command as sudo because only an authorized user can add/remove, update, and configure software on Ubuntu. This way your system’s repository gets in-line with the Internet repositories and that helps you in installing the latest version of any available software. Then, you need to update your system’s repository index through the following command as sudo: $ sudo apt-get update Open the Ubuntu command line, The Terminal, either through the system Dash or the Ctrl+Alt+T shortcut. However, if you have a minimal installation of Ubuntu that lacks any IDLE UI application, you can install it by following this method:
Python is installed by default on all the latest Ubuntu releases and it also usually comes with the IDLE application.
We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 or Ubuntu 20.04 system.
The article also explains how to launch IDLE and use it to write and run a simple Python script. In this article, we will be installing IDLE through the Ubuntu command line. Integrated debugger with stepping, persistent breakpoints, and call stack visibility.įor more information on IDLE, visit the following official documentation:.Multi-window text editor with syntax highlighting, auto-completion, smart indent, and other features to make coding easy.IDLE is a cross-platform IDE solution that comes with a basic feature set that includes:
Hence, it is very popular in educational environments. IDLE is most suitable for beginners as it is easy to use and not feature overloaded. It is an IDE for Python, written in Python language itself and based on Tkinter with bindings to the Tk widget set. IDLE stands for Integrated Deve Lopment Environment.