source: general/prog/python.xml@ cb83205

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 cb83205 was cb83205, checked in by Larry Lawrence <larry@…>, 19 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
RevLine 
[52d29f7]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
[6822b09]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">
[775c349a]9<!ENTITY python-size "7.5 MB">
10<!ENTITY python-buildsize "133 MB">
11<!ENTITY python-time "1.01 SBU">
[52d29f7]12]>
13
[3fe8b511]14<sect1 id="python" xreflabel="Python-&Python-version;">
[a0f03b0]15<sect1info>
[5cd0959d]16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
[a0f03b0]18</sect1info>
[19aa75a]19<?dbhtml filename="Python.html" ?>
[3fe8b511]20<title>Python-&Python-version;</title>
[f45b1953]21
[52d29f7]22<sect2>
23<title>Introduction to <application>Python</application></title>
[e9ef7b5e]24
[52d29f7]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>
[e9ef7b5e]29
[52d29f7]30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
[775c349a]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>
[52d29f7]37</sect3>
[e9ef7b5e]38
[52d29f7]39<sect3><title>Additional downloads</title>
40<itemizedlist spacing='compact'>
[775c349a]41<listitem><para>Required patch: <ulink
[3fe8b511]42url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
[93c1bf51]43<listitem><para>Required patch for Berkeley DB: <ulink
44url="&patch-root;/Python-&Python-version;-db43-1.patch"/></para></listitem>
[52d29f7]45</itemizedlist>
46</sect3>
[e9ef7b5e]47
[52d29f7]48<sect3><title><application>Python</application> dependencies</title>
49<sect4><title>Optional</title>
[775c349a]50<para><xref linkend="openssl"/>,
51<xref linkend="tk"/>,
52<xref linkend="gdbm"/> and
53<xref linkend="db"/></para>
[54f3179]54</sect4>
[52d29f7]55</sect3>
56
[e9ef7b5e]57</sect2>
[52d29f7]58
59<sect2>
60<title>Installation of <application>Python</application></title>
[e9ef7b5e]61
[93c1bf51]62<para>If you have Berkeley DB installed and wish to utilize it, apply
63the following patch:</para>
64
[cb83205]65<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-db43-1.patch</command></userinput></screen>
[93c1bf51]66
[e9ef7b5e]67<para>Install <application>Python</application> by running the following
[99b29a4]68commands:</para>
[e9ef7b5e]69
[3fe8b511]70<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
[52d29f7]71./configure --prefix=/usr --enable-shared &amp;&amp;
72make &amp;&amp;
73make install</command></userinput></screen>
[e9ef7b5e]74
[52d29f7]75</sect2>
76
77<sect2>
78<title>Contents</title>
[e9ef7b5e]79
80<para>The <application>Python</application> package contains
[775c349a]81<command>python</command>,
82<command>pydoc</command>,
83<command>smtpd.py</command> and
[e9ef7b5e]84<application>Python</application> libraries, modules and scripts. If
85<application>Tk</application> is installed, the <command>idle</command>
[5b287d4]86script will also be installed.</para>
[e9ef7b5e]87
[52d29f7]88</sect2>
[e9ef7b5e]89
[52d29f7]90<sect2><title>Description</title>
[e9ef7b5e]91
[52d29f7]92<sect3><title>python</title>
[e9ef7b5e]93<para><command>python</command> is an interpreted, interactive,
[99b29a4]94object-oriented programming language.</para></sect3>
[e9ef7b5e]95
[52d29f7]96<sect3><title>pydoc</title>
[e9ef7b5e]97<para><command>pydoc</command> is the <application>Python</application>
[99b29a4]98documentation tool.</para></sect3>
[e9ef7b5e]99
[775c349a]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
[99b29a4]104<sect3><title>idle</title>
[e9ef7b5e]105<para><command>idle</command> is a wrapper script that opens a
106<application>Python</application> aware <acronym>GUI</acronym>
[5b287d4]107editor.</para></sect3>
[e9ef7b5e]108
[52d29f7]109</sect2>
[f45b1953]110
111</sect1>
Note: See TracBrowser for help on using the repository browser.