source: general/prog/python.xml@ 8617e747

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 8617e747 was 8617e747, checked in by Igor Živković <igor@…>, 17 years ago

Removed expat from Python dependencies as an internal version is used
and modifying the sources to use a system shared expat library is not
advised.

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

  • Property mode set to 100644
File size: 3.3 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.2 MB">
10<!ENTITY Python-buildsize "133 MB">
11<!ENTITY Python-time "1.25 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"/>, <xref linkend="tk"/>,
49<xref linkend="gdbm"/>, <xref linkend="db"/>, <xref linkend="gmp"/> and
50<ulink url="http://www.gnu.org/software/pth/">Pth</ulink></para>
51</sect4>
52</sect3>
53
54</sect2>
55
56<sect2>
57<title>Installation of <application>Python</application></title>
58
59<para>Install <application>Python</application> by running the following
60commands:</para>
61
62<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
63./configure --prefix=/usr --enable-shared &amp;&amp;
64make &amp;&amp;
65make install</command></userinput></screen>
66
67</sect2>
68
69<sect2>
70<title>Contents</title>
71
72<para>The <application>Python</application> package contains
73<command>python</command>, <command>pydoc</command> and
74<application>Python</application> libraries, modules and scripts. If
75<application>Tk</application> is installed, the <command>idle</command>
76script will also be installed.</para>
77
78</sect2>
79
80<sect2><title>Description</title>
81
82<sect3><title>python</title>
83<para><command>python</command> is an interpreted, interactive,
84object-oriented programming language.</para></sect3>
85
86<sect3><title>pydoc</title>
87<para><command>pydoc</command> is the <application>Python</application>
88documentation tool.</para></sect3>
89
90<sect3><title>idle</title>
91<para><command>idle</command> is a wrapper script that opens a
92<application>Python</application> aware <acronym>GUI</acronym>
93editor.</para></sect3>
94
95</sect2>
96
97</sect1>
98
Note: See TracBrowser for help on using the repository browser.