python IDLE (Integrated Development and learning environment) is an official lightweight Python IDE. In different Linux release versions, the installation commands are not the same, as follows:
1. Centos/fedora/rhel (Red Hat Enterprise Linux)
For these Linux release versions, the IDLE tool is included in the Python Toolkit python-tools or Python3-tools. The specific installation commands are as follows:
1.1 Install IDLE (Python 2)
sudo Yum Install Python-tools
Or
sudo Install Python-tools
1.2 Install IDLE (Python 3)
sudo Yum Install Python3-tools
Or
$ sudoinstall python3-tools
2. Debian/ubuntu Linux
In Debian/ubuntu Linux, the IDLE tool can be installed independently through the Package Manager Apt-get, with the following specific installation commands:
2.1 Install IDLE (Python 2)
sudo Install Idle
2.2 Install IDLE (Python 3)
sudo Install Idle3
Note:
If the above method cannot be installed successfully, you can consider installing from the source code, the source URL is https://github.com/python/cpython/tree/master/Lib/idlelib .
After the installation succeeds, the command to run IDLE (Python 2) is
$ idle
Its display interface, as shown in
The command to run IDLE (Python 3) is
$ idle3
Its display interface, as shown in
References
1. Wikipedia contributors. (2018, January 22). IDLE. in Wikipedia, the free encyclopedia. Retrieved 08:31, March 4, 2018, from https://en.wikipedia.org/w/index.php?title=IDLE&oldid=821760862
2. Howto:install Python idle IDE on Linux Operating System. https://www.cyberciti.biz/faq/rhel-centos-debian-ubuntu-python-idle-linux-installation/
3. Invoking Python IDLE on Linux. Https://stackoverflow.com/questions/14097795/invoking-python-idle-on-linux
4. IDLE Documentation-python 2. https://docs.python.org/2/library/idle.html
5. IDLE Documentation-python 3. https://docs.python.org/3/library/idle.html
Install Python IDLE (Linux)