source: general/prog/python.xml@ 3fe8b511

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 3fe8b511 was 3fe8b511, checked in by Bruce Dubbs <bdubbs@…>, 19 years ago

Update stylesheets and fix Python references

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

  • Property mode set to 100644
File size: 3.4 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</itemizedlist>
44</sect3>
45
46<sect3><title><application>Python</application> dependencies</title>
47<sect4><title>Optional</title>
48<para><xref linkend="openssl"/>,
49<xref linkend="tk"/>,
50<xref linkend="gdbm"/> and
51<xref linkend="db"/></para>
52</sect4>
53</sect3>
54
55</sect2>
56
57<sect2>
58<title>Installation of <application>Python</application></title>
59
60<para>Install <application>Python</application> by running the following
61commands:</para>
62
63<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
64./configure --prefix=/usr --enable-shared &amp;&amp;
65make &amp;&amp;
66make install</command></userinput></screen>
67
68</sect2>
69
70<sect2>
71<title>Contents</title>
72
73<para>The <application>Python</application> package contains
74<command>python</command>,
75<command>pydoc</command>,
76<command>smtpd.py</command> and
77<application>Python</application> libraries, modules and scripts. If
78<application>Tk</application> is installed, the <command>idle</command>
79script will also be installed.</para>
80
81</sect2>
82
83<sect2><title>Description</title>
84
85<sect3><title>python</title>
86<para><command>python</command> is an interpreted, interactive,
87object-oriented programming language.</para></sect3>
88
89<sect3><title>pydoc</title>
90<para><command>pydoc</command> is the <application>Python</application>
91documentation tool.</para></sect3>
92
93<sect3><title>smtpd.py</title>
94<para><command>smtpd.py</command> is a <acronym>SMTP</acronym> proxy
95implemented in <application>Python</application>.</para></sect3>
96
97<sect3><title>idle</title>
98<para><command>idle</command> is a wrapper script that opens a
99<application>Python</application> aware <acronym>GUI</acronym>
100editor.</para></sect3>
101
102</sect2>
103
104</sect1>
Note: See TracBrowser for help on using the repository browser.