Programming

An LFS is a development system, but only for C, C++ and Perl. This chapter expands the languages available.

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 them entirely.

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.