A base LFS system can be used as a development platform, however the base system only includes language support for C, C++ and Perl. This chapter provides instructions to build many popular programming environments to greatly expand your system's development capabilities.


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.

Package information

Python dependencies

Installation of Python

If you have Berkeley DB installed and wish to utilize it, apply the following patch:

patch -Np1 -i ../Python-2.4-db43-1.patch

Install Python by running the following commands:

patch -Np0 -i ../patch.txt &&
patch -Np1 -i ../Python-2.4-gdbm-1.patch &&
./configure --prefix=/usr --enable-shared &&

Now, as the root user:

make install


Installed Programs: pydoc, python, and optionally if Tk is installed, idle
Installed Libraries: and numerous modules installed in /usr/lib/python2.4/lib-dynload
Installed Directories: /usr/include/python2.4 and /usr/lib/python2.4

Short Descriptions


is a wrapper script that opens a Python aware GUI editor.


is the Python documentation tool.


is an interpreted, interactive, object-oriented programming language.

is an SMTP proxy implemented in Python.