source: general/prog/python.xml@ 52d29f7

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 52d29f7 was 52d29f7, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

XML Updates to Part III from DJ

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

  • Property mode set to 100644
File size: 3.9 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 "6.9 MB">
10<!ENTITY Python-buildsize "69 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 (HTTP): <ulink
39url="&patch-root;/Python-&Python-version;-gdbm-2.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="expat"/>, <xref linkend="tk"/>, <xref
46linkend="gdbm"/>, <xref linkend="db"/>, <xref linkend="gmp"/> and
47<xref linkend="readline"/>
48</para></sect4>
49</sect3>
50
51</sect2>
52
53<sect2>
54<title>Installation of <application>Python</application></title>
55
56<para>Install <application>Python</application> by running the following commands:</para>
57
58<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-2.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 <command>python</command> and
69<command>pydoc</command>.</para>
70
71</sect2>
72
73<sect2><title>Description</title>
74
75<sect3><title>python</title>
76<para><command>python</command> is an interpreted, interactive, object-oriented programming
77language.</para></sect3>
78
79<sect3><title>pydoc</title>
80<para><command>pydoc</command> is the <application>Python</application> documentation tool.</para></sect3>
81
82</sect2>
83
84</sect1>
85
Note: See TracBrowser for help on using the repository browser.