[Ilugc] Installing readline library to python.

Kumar Appaiah akumar at ee.iitm.ac.in
Fri Aug 17 12:32:00 IST 2007


On Fri, Aug 17, 2007 at 12:58:41AM -0400, Sivaram Kannan wrote:
> I was trying to install readline library to python. The python that
> comes with the distros(debian, RHEL) has the readline library(one
> which provides the history of command typed), by default. I wanted to
> install the latest python in my system and
> when I installed it, it did not have the readline library by default.

In my Debian (Etch/Lenny) system, dpkg -L python2.4 has the following
as one of the lines:
/usr/lib/python2.4/lib-dynload/readline.so

which means that it's supposed to be part of the basic Python package
(python2.4 in this case). It's also there for python2.5.

So, which latest version of Python are you trying to install?

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


More information about the ilugc mailing list