HowTo: Install Python idle IDE On Linux Operating System

by on November 17, 2012 · 2 comments· last updated at 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?

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsNone

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


You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 2 comments… read them below or add one }

1 meow December 6, 2012 at 12:34 pm

There is really no need to use idle, the python shell — ipython under linux is way better than idle, it has both terminal and graphical(QT) versions.

Reply

2 Sebastian.S May 25, 2013 at 6:32 pm

Great information :)

I saw a little spelling mistake on the line: idle – This Debian or Ubunut

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , ,

Previous Faq:

Next Faq: