source: general/prog/python.xml@ 4ca92e2c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4ca92e2c was 4ca92e2c, checked in by Igor Živković <igor@…>, 20 years ago

Removed readline and all references in packages' dependencies, passed switches for readline support where it's not on by default.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2462 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY Python-download-http "http://www.python.org/ftp/python/&Python-version;/Python-&Python-version;.tar.bz2">
8<!ENTITY Python-download-ftp "ftp://ftp.python.org/pub/python/&Python-version;/Python-&Python-version;.tar.bz2">
9<!ENTITY Python-size "7.2 MB">
10<!ENTITY Python-buildsize "133 MB">
11<!ENTITY Python-time "1.25 SBU">
12
13]>
14
15<sect1 id="Python" xreflabel="Python-&Python-version;">
16<?dbhtml filename="Python.html" ?>
17<title>Python-&Python-version;</title>
18
19<sect2>
20<title>Introduction to <application>Python</application></title>
21
22<para>The <application>Python</application> package contains the
23<application>Python</application> development environment.
24This is useful for object-oriented programming, writing scripts,
25prototyping large programs or developing entire applications.</para>
26
27<sect3><title>Package information</title>
28<itemizedlist spacing='compact'>
29<listitem><para>Download (HTTP): <ulink url="&Python-download-http;"/></para></listitem>
30<listitem><para>Download (FTP): <ulink url="&Python-download-ftp;"/></para></listitem>
31<listitem><para>Download size: &Python-size;</para></listitem>
32<listitem><para>Estimated Disk space required: &Python-buildsize;</para></listitem>
33<listitem><para>Estimated build time: &Python-time;</para></listitem></itemizedlist>
34</sect3>
35
36<sect3><title>Additional downloads</title>
37<itemizedlist spacing='compact'>
38<listitem><para>Required Patch: <ulink
39url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
40</itemizedlist>
41</sect3>
42
43<sect3><title><application>Python</application> dependencies</title>
44<sect4><title>Optional</title>
45<para><xref linkend="openssl"/>, <xref linkend="expat"/>, <xref linkend="tk"/>, <xref
46linkend="gdbm"/>, <xref linkend="db"/> and <xref linkend="gmp"/>
47</para></sect4>
48</sect3>
49
50</sect2>
51
52<sect2>
53<title>Installation of <application>Python</application></title>
54
55<para>Install <application>Python</application> by running the following
56commands:</para>
57
58<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
59./configure --prefix=/usr --enable-shared &amp;&amp;
60make &amp;&amp;
61make install</command></userinput></screen>
62
63</sect2>
64
65<sect2>
66<title>Contents</title>
67
68<para>The <application>Python</application> package contains
69<command>python</command>, <command>pydoc</command> and
70<application>Python</application> libraries, modules and scripts. If
71<application>Tk</application> is installed, the <command>idle</command>
72script will also be installed.</para>
73
74</sect2>
75
76<sect2><title>Description</title>
77
78<sect3><title>python</title>
79<para><command>python</command> is an interpreted, interactive,
80object-oriented programming language.</para></sect3>
81
82<sect3><title>pydoc</title>
83<para><command>pydoc</command> is the <application>Python</application>
84documentation tool.</para></sect3>
85
86<sect3><title>idle</title>
87<para><command>idle</command> is a wrapper script that opens a
88<application>Python</application> aware <acronym>GUI</acronym>
89editor.</para></sect3>
90
91</sect2>
92
93</sect1>
94
Note: See TracBrowser for help on using the repository browser.