Introduction to Python
The Python package contains the
Python development environment.
This is useful for object-oriented programming, writing scripts,
prototyping large programs or developing entire applications.
Optional HTML Documentation
Optional (to create package-specific support modules)
OpenSSL-0.9.8g, Tk-8.4.18, GDBM-1.8.3, and SQLite 3
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Python
Installation of Python
Install Python by running the
patch -Np1 -i ../Python-2.5.2-gdbm-1.patch &&
./configure --prefix=/usr --enable-shared &&
To test the results, issue: make
test. Note that if you have an existing
Python installation which includes
the PyXML module, the tests could
produce a segmentation fault.
Now, as the
There is no documentation installed using the instructions above.
However, There are LaTeX sources included with the distribution.
Doc/README file in the source
distribution for instructions to format the LaTeX sources.
Alternatively, you can download preformatted documentation from
In order to use the help
('name_string') feature of the python interpreter with some
statements and keywords, you must download (or create) the optional
HTML documentation and install it. If you downloaded the HTML docs,
issue the following commands as the
install -v -m755 -d /usr/share/doc/Python-2.5.2/html &&
tar --strip-components=1 \
-C /usr/share/doc/Python-2.5.2/html \
In order for python
to find the installed documentation, you must add the following
environment variable to individual user's or the system's profile: