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.
The Python package contains the Python development environment. This is useful for object-oriented programming, writing scripts, prototyping large programs or developing entire applications.
Download (HTTP): http://www.python.org/ftp/python/2.3.3/Python-2.3.3.tar.bz2
Download (FTP): ftp://ftp.python.org/pub/python/2.3.3/Python-2.3.3.tar.bz2
Download size: 6.9 MB
Estimated Disk space required: 69 MB
Estimated build time: 1.25 SBU
Required patch (HTTP): http://www.linuxfromscratch.org/patches/blfs/5.1/Python-2.3.3-gdbm-2.patch
Install Python by running the following commands:
patch -Np1 -i ../Python-2.3.3-gdbm-2.patch &&
./configure --prefix=/usr --enable-shared &&
make &&
make install
The Python package contains python and pydoc.