- How to Install Python IDLE in Linux
- IDLE Features
- Install Python IDLE IDE in Linux
- Writing First Python Program Using IDLE
- How To Install idle-python3.6 on Kali Linux
- One-liner install command
- What is idle-python3.6 and what are the ways to install it?
- Install idle-python3.6 using apt-get
- Install idle-python3.6 using apt
- Install idle-python3.6 using aptitude
- How to upgrade (update) a single package idle-python3.6 using apt-get?
- How To Uninstall idle-python3.6 from Kali Linux
- Uninstall idle-python3.6 and all its dependencies
- Remove idle-python3.6 with all configurations and data
- Remove idle-python3.6 completely (configurations, data and all of its dependencies)
- Extra info and code examples
- Conclusion
- How To Install idle-python3.9 on Kali Linux
- What is idle-python3.9
- Install idle-python3.9 Using apt-get
- Install idle-python3.9 Using apt
- Install idle-python3.9 Using aptitude
- How To Uninstall idle-python3.9 on Kali Linux
- Uninstall idle-python3.9 And Its Dependencies
- Remove idle-python3.9 Configurations and Data
- Remove idle-python3.9 configuration, data, and all of its dependencies
- References
- Summary
- How To Install idle-python2.7 on Kali Linux
- What is idle-python2.7
- Install idle-python2.7 Using apt-get
- Install idle-python2.7 Using apt
- Install idle-python2.7 Using aptitude
- How To Uninstall idle-python2.7 on Kali Linux
- Uninstall idle-python2.7 And Its Dependencies
- Remove idle-python2.7 Configurations and Data
- Remove idle-python2.7 configuration, data, and all of its dependencies
- Dependencies
- References
- Summary
How to Install Python IDLE in Linux
IDLE is an Integrated and learning environment created with Python using the GUI Tkinter toolkit. This is mainly used by beginners to get familiar with Python. IDLE is a cross-platform application that works with Mac OS, Windows, and Linux. In windows, IDLE comes by default with the installation. For Mac OS and Linux, we have to install the IDLE separately.
IDLE Features
- Interactive Interpreter.
- A multi-window text editor.
- Smart intends.
- Code coloring.
- Call tips.
- Auto indentation.
- Debugger with persistent breakpoints.
- Stepping and Viewing of local and global Namespace.
If you are a beginner to Python programming or new to programming, IDLE is the best place to start with. But if you are an experienced programmer switching from another language to Python then you may try more advanced editors like Pycharm, VScode, Sublime Text, VIM, etc.
Install Python IDLE IDE in Linux
In most of today’s modern Linux distributions, Python is installed by default and it comes with the IDLE application. However, If isn’t installed, you can install it using your default package manager as shown.
$ sudo apt install idle [On Debian/Ubuntu for Python2] $ sudo apt-get install idle3 [On Debian/Ubuntu for Python3] $ sudo yum install python3-tools [On CentOS/RHEL and Fedora]
Once the installation is completed type «idle» from the terminal or go to start menu → type «idle» → Launch application.
When you open the IDLE, the interactive terminal will be displayed first. The interactive terminal provides auto-completion too, you can press (ALT + SPACE) for auto-completion.
Writing First Python Program Using IDLE
Go to File → New File → To open the text editor. Once the editor is opened you can write the program. To run the program from the text editor, save the file and press F5 or Run → Run Module.
To access the debugger go to Debug → Debugger. Debug mode will be on, you can debug and step through the code.
Go to Options → Configure IDLE. This will open settings windows.
That’s all for today. We have seen what IDLE is and how to install it in Linux. How to write the first python program through interpreter and Text editor. How to access the builtin debugger and how to change the settings of IDLE.
How To Install idle-python3.6 on Kali Linux
In this guide, we’ll discuss How To Install idle-python3.6 on Kali Linux. Also, we will demonstrate how to uninstall and update idle-python3.6 .
One-liner install command
For those in a hurry, here’s a one-line installation command:
sudo apt-get update && sudo apt -y install idle-python3.6
But if you are interested in the detailed steps with descriptions, the following information is for you.
What is idle-python3.6 and what are the ways to install it?
Short description: IDE for Python (v3.6) using Tkinter
Before beginning this tutorial, you will need access to a server or computer running Kali Linux. This guide was written specifically with a server running Kali Linux in mind, although it should also work on older, supported versions of the operating system.
Also, make sure you are running a regular, non-root user with sudo privileges configured on your server. When you have an account available, log in as your non-root user to begin.
There are several ways to install idle-python3.6 on Kali Linux. You can use (links are clickable):
In the following sections, we will describe each method in detail. You can choose one of them or refer to the recommended one.
Install idle-python3.6 using apt-get
First, update apt database with apt-get using the following command.
After updating apt-get database, You can install idle-python3.6 using apt by running the following command:
sudo apt -y install idle-python3.6
Install idle-python3.6 using apt
Because idle-python3.6 is available in Kali Linux’s default repositories, it is possible to install it from these repositories using the apt packaging system.
To begin, update apt database with apt using the following command.
After updating apt database, You can install idle-python3.6 using apt by running the following command:
sudo apt -y install idle-python3.6
Install idle-python3.6 using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
After updating aptitude database, You can install idle-python3.6 by running the following command:
sudo aptitude -y install idle-python3.6
How to upgrade (update) a single package idle-python3.6 using apt-get?
First, you will need to update packages index. Run update command as usual:
Next, to upgrade only the idle-python3.6, e.g. single package, you should use the following format with the apt-get command/apt command:
sudo apt-get --only-upgrade install idle-python3.6
Note that this command will not install any new packages! If you wish to install the package if it doesn’t exist you may leave out —only-upgrade part.
It’s Good to Know:
sudo apt-get install idle-python3.6
This will upgrade the package even if is already installed.
How To Uninstall idle-python3.6 from Kali Linux
To uninstall only the idle-python3.6 package you can execute the following command:
sudo apt-get remove idle-python3.6
Uninstall idle-python3.6 and all its dependencies
To uninstall idle-python3.6 and its dependencies that are no longer needed by Kali Linux, you can use the command below:
sudo apt-get -y autoremove idle-python3.6
Remove idle-python3.6 with all configurations and data
To remove idle-python3.6 configuration and data from your system you can run the following purge command:
sudo apt-get -y purge idle-python3.6
Remove idle-python3.6 completely (configurations, data and all of its dependencies)
And lastly, you can run the next command to remove absolutely everything related to idle-python3.6 package, e.g.: configurations, data and all of its dependencies. Just use this command:
sudo apt-get -y autoremove --purge idle-python3.6
Extra info and code examples
IDLE is an Integrated Development Environment for Python (v3.6). IDLE is written using Tkinter and therefore quite platform-independent.
- Maintainer: Matthias Klose
- Sources url: unknown
- Section/Category: unknown
Conclusion
You now have a full guide on how to install idle-python3.6 using apt, apt-get and aptitude tools. Also, we showed how to update as a single package and different ways to uninstall the idle-python3.6 from Kali Linux.
How To Install idle-python3.9 on Kali Linux
In this tutorial we learn how to install idle-python3.9 on Kali Linux.
What is idle-python3.9
IDLE is an Integrated Development Environment for Python (v3.9). IDLE is written using Tkinter and therefore quite platform-independent.
There are three ways to install idle-python3.9 on Kali Linux . We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.
Install idle-python3.9 Using apt-get
Update apt database with apt-get using the following command.
After updating apt database, We can install idle-python3.9 using apt-get by running the following command:
sudo apt-get -y install idle-python3.9
Install idle-python3.9 Using apt
Update apt database with apt using the following command.
After updating apt database, We can install idle-python3.9 using apt by running the following command:
sudo apt -y install idle-python3.9
Install idle-python3.9 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
After updating apt database, We can install idle-python3.9 using aptitude by running the following command:
sudo aptitude -y install idle-python3.9
How To Uninstall idle-python3.9 on Kali Linux
To uninstall only the idle-python3.9 package we can use the following command:
sudo apt-get remove idle-python3.9
Uninstall idle-python3.9 And Its Dependencies
To uninstall idle-python3.9 and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove idle-python3.9
Remove idle-python3.9 Configurations and Data
To remove idle-python3.9 configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge idle-python3.9
Remove idle-python3.9 configuration, data, and all of its dependencies
We can use the following command to remove idle-python3.9 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge idle-python3.9
References
Summary
In this tutorial we learn how to install idle-python3.9 using different package management tools like apt, apt-get and aptitude.
How To Install idle-python2.7 on Kali Linux
In this tutorial we learn how to install idle-python2.7 on Kali Linux.
What is idle-python2.7
IDLE is an Integrated Development Environment for Python (v2.7). IDLE is written using Tkinter and therefore quite platform-independent.
There are three methods to install idle-python2.7 on Kali Linux. We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.
Install idle-python2.7 Using apt-get
Update apt database with apt-get using the following command.
After updating apt database, We can install idle-python2.7 using apt-get by running the following command:
Install idle-python2.7 Using apt
Update apt database with apt using the following command.
After updating apt database, We can install idle-python2.7 using apt by running the following command:
Install idle-python2.7 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
After updating apt database, We can install idle-python2.7 using aptitude by running the following command:
How To Uninstall idle-python2.7 on Kali Linux
To uninstall only the idle-python2.7 package we can use the following command:
Uninstall idle-python2.7 And Its Dependencies
To uninstall idle-python2.7 and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove idle-python2.7 Configurations and Data
To remove idle-python2.7 configuration and data from Kali Linux we can use the following command:
Remove idle-python2.7 configuration, data, and all of its dependencies
We can use the following command to remove idle-python2.7 configurations, data and all of its dependencies, we can use the following command:
Dependencies
References
Summary
In this tutorial we learn how to install idle-python2.7 package on Kali Linux using different package management tools: apt , apt-get and aptitude .