source: general/prog/python.xml@ cb83205

10.0 10.1 11.0 11.1 11.2 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 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since cb83205 was cb83205, checked in by Larry Lawrence <larry@…>, 18 years ago

python instruction error

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

  • Property mode set to 100644
File size: 3.8 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.5 MB">
10<!ENTITY python-buildsize "133 MB">
11<!ENTITY python-time "1.01 SBU">
12]>
13
14<sect1 id="python" xreflabel="Python-&Python-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="Python.html" ?>
20<title>Python-&Python-version;</title>
21
22<sect2>
23<title>Introduction to <application>Python</application></title>
24
25<para>The <application>Python</application> package contains the
26<application>Python</application> development environment.
27This is useful for object-oriented programming, writing scripts,
28prototyping large programs or developing entire applications.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink url="&python-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink url="&python-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &python-size;</para></listitem>
35<listitem><para>Estimated disk space required: &python-buildsize;</para></listitem>
36<listitem><para>Estimated build time: &python-time;</para></listitem></itemizedlist>
37</sect3>
38
39<sect3><title>Additional downloads</title>
40<itemizedlist spacing='compact'>
41<listitem><para>Required patch: <ulink
42url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
43<listitem><para>Required patch for Berkeley DB: <ulink
44url="&patch-root;/Python-&Python-version;-db43-1.patch"/></para></listitem>
45</itemizedlist>
46</sect3>
47
48<sect3><title><application>Python</application> dependencies</title>
49<sect4><title>Optional</title>
50<para><xref linkend="openssl"/>,
51<xref linkend="tk"/>,
52<xref linkend="gdbm"/> and
53<xref linkend="db"/></para>
54</sect4>
55</sect3>
56
57</sect2>
58
59<sect2>
60<title>Installation of <application>Python</application></title>
61
62<para>If you have Berkeley DB installed and wish to utilize it, apply
63the following patch:</para>
64
65<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-db43-1.patch</command></userinput></screen>
66
67<para>Install <application>Python</application> by running the following
68commands:</para>
69
70<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
71./configure --prefix=/usr --enable-shared &amp;&amp;
72make &amp;&amp;
73make install</command></userinput></screen>
74
75</sect2>
76
77<sect2>
78<title>Contents</title>
79
80<para>The <application>Python</application> package contains
81<command>python</command>,
82<command>pydoc</command>,
83<command>smtpd.py</command> and
84<application>Python</application> libraries, modules and scripts. If
85<application>Tk</application> is installed, the <command>idle</command>
86script will also be installed.</para>
87
88</sect2>
89
90<sect2><title>Description</title>
91
92<sect3><title>python</title>
93<para><command>python</command> is an interpreted, interactive,
94object-oriented programming language.</para></sect3>
95
96<sect3><title>pydoc</title>
97<para><command>pydoc</command> is the <application>Python</application>
98documentation tool.</para></sect3>
99
100<sect3><title>smtpd.py</title>
101<para><command>smtpd.py</command> is a <acronym>SMTP</acronym> proxy
102implemented in <application>Python</application>.</para></sect3>
103
104<sect3><title>idle</title>
105<para><command>idle</command> is a wrapper script that opens a
106<application>Python</application> aware <acronym>GUI</acronym>
107editor.</para></sect3>
108
109</sect2>
110
111</sect1>
Note: See TracBrowser for help on using the repository browser.