source: general/prog/python.xml@ 6c42d4e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 6c42d4e was 6c42d4e, checked in by Randy McMurchy <randy@…>, 18 years ago

Updated all the wiki links to point to the existing package wiki page if one existed

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

  • Property mode set to 100644
File size: 6.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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-md5sum "98db1465629693fc434d4dc52db93838">
10 <!ENTITY python-size "7.5 MB">
11 <!ENTITY python-buildsize "115 MB">
12 <!ENTITY python-time "0.9 SBU (additional 2.2 SBU to run the test suite)">
13]>
14
15<sect1 id="python" xreflabel="Python-&Python-version;">
16 <?dbhtml filename="python.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">Python-&Python-version;.tar</keyword>
23 <keyword role="ftpdir">Python</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>Python-&Python-version;</title>
28
29 <indexterm zone="python">
30 <primary sortas="a-Python">Python</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Python</title>
35
36 <para>The <application>Python</application> package contains the
37 <application>Python</application> development environment.
38 This is useful for object-oriented programming, writing scripts,
39 prototyping large programs or developing entire applications.</para>
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&python-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&python-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &python-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &python-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &python-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &python-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
64 <itemizedlist spacing='compact'>
65 <listitem>
66 <para>Required patch: <ulink
67 url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para>
68 </listitem>
69 <listitem>
70 <para>Required patch: <ulink
71 url="&patch-root;/Python-&Python-version;-db44-1.patch"/></para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Python Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional"><xref linkend="openssl"/>,
79 <xref linkend="tk"/>, and
80 <xref linkend="gdbm"/></para>
81 <!-- <xref linkend="db"/> -->
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/Python"/></para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of Python</title>
90
91 <para>Install <application>Python</application> by running the following
92 commands:</para>
93
94<screen><userinput>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
95patch -Np1 -i ../Python-&Python-version;-db44-1.patch &amp;&amp;
96./configure --prefix=/usr --enable-shared &amp;&amp;
97make</userinput></screen>
98
99 <para>To test the results, issue: <command>make test</command>.</para>
100
101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
102
103<screen role="root"><userinput>make install</userinput></screen>
104
105 <note>
106 <para>There is no documentation installed using the instructions above.
107 However, There are LaTeX sources included with the distribution. See the
108 <filename>Doc/README</filename> file in the source distribution for
109 instructions to format the LaTeX sources. Alternatively, you can download
110 preformatted documentation from
111 <ulink url="http://www.python.org/doc/current/download.html"/>.</para>
112 </note>
113
114 </sect2>
115
116 <sect2 role="content">
117 <title>Contents</title>
118
119 <segmentedlist>
120 <segtitle>Installed Programs</segtitle>
121 <segtitle>Installed Libraries</segtitle>
122 <segtitle>Installed Directories</segtitle>
123
124 <seglistitem>
125 <seg>pydoc, python, python2.4, smtpd.py, and optionally if
126 <application>Tk</application> is installed, idle</seg>
127 <seg>libpython2.4.so and numerous modules installed in
128 /usr/lib/python2.4/lib-dynload</seg>
129 <seg>/usr/include/python2.4 and /usr/lib/python2.4</seg>
130 </seglistitem>
131 </segmentedlist>
132
133 <variablelist>
134 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
135 <?dbfo list-presentation="list"?>
136 <?dbhtml list-presentation="table"?>
137
138 <varlistentry id="idle">
139 <term><command>idle</command></term>
140 <listitem>
141 <para>is a wrapper script that opens a
142 <application>Python</application> aware GUI editor.</para>
143 <indexterm zone="python idle">
144 <primary sortas="b-idle">idle</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="pydoc">
150 <term><command>pydoc</command></term>
151 <listitem>
152 <para>is the <application>Python</application> documentation
153 tool.</para>
154 <indexterm zone="python pydoc">
155 <primary sortas="b-pydoc">pydoc</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="python-prog">
161 <term><command>python</command></term>
162 <listitem>
163 <para>is an interpreted, interactive, object-oriented programming
164 language.</para>
165 <indexterm zone="python python-prog">
166 <primary sortas="b-python">python</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="python2.4">
172 <term><command>python2.4</command></term>
173 <listitem>
174 <para>is a version-specific name for the <command>python</command>
175 program.</para>
176 <indexterm zone="python python2.4">
177 <primary sortas="b-python2.4">python2.4</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="smtpd.py">
183 <term><command>smtpd.py</command></term>
184 <listitem>
185 <para>is an SMTP proxy implemented in
186 <application>Python</application>.</para>
187 <indexterm zone="python smtpd.py">
188 <primary sortas="b-smtpd.py">smtpd.py</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.