HowTo: Install Python idle IDE On Linux Operating System

Posted on in Categories last updated May 25, 2013

Python is preinstalled on my Ubuntu / Debian Linux desktop. I’m unable to find IDLE integrated development environment for Python. How do I install IDLE IDE?


IDLE is an integrated development environment for Python. You need to install the following package:

  1. python-tools : This RHEL / CentOS / Fedora Linux package for IDLE includes several tools to help with the development of Python programs, including IDLE (an IDE with editing and debugging facilities), a color editor (pynche), and a python gettext program (pygettext.py).
  2. idle – This Debian or Ubuntu Linux meta package for IDLE. You may need to install idle-python2.5 package for Python v2.5, idle-python2.6 package for Python v2.6, idle-python3.1 package for Python v3.1.

IDLE Linux Installation

If you are using Debian / Ubuntu Linxu, type the following apt-get command to install idle IDE:
$ sudo apt-get install idle

If you are using RHEL / CentOS / Scientifc / Fedora Linxu, type the following yum command to install idle IDE:
# yum install python-tools

How do I start IDLE under Linux?

Type the following command:
$ idle
OR Visit menu option

Applications > Programming > IDLE

Sample outputs:

Fig.01: Python shell IDLE Screenshot
Fig.01 Python IDLE IDE in action

See also

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

21 comment

  1. ‘sudo apt-get install idle’ seems to install the Python shell, not the IDE package. Any ideas on how to install the IDE.

    PS Just tried the same command on my laptop and it worked on there. Both machines running Xubuntu 14.04

  2. Hello Everyone!

    Could you please help me in getting python installed on my pc redhat 7 64 bit (VM). I am new in this. I have installed python 3.2 package but now able to start the program. I have checked this article and it says, for redhat python-tools has to be installed which includes IDLE. But I am not getting this package for redhat 7 64 bit. Please help !

Leave a Comment