Programming

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.

Python-2.3.3

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

Installation of Python

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

Contents

The Python package contains python and pydoc.

Description

python

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

pydoc

pydoc is the Python documentation tool.