source: general/prog/python.xml@ 5b287d4

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 5b287d4 was 5b287d4, checked in by Randy McMurchy <randy@…>, 20 years ago

updated to AbiWord-2.0.7, misc fixes

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

  • Property mode set to 100644
File size: 4.6 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
15<sect1 id="Python" xreflabel="Python-&Python-version;">
16<?dbhtml filename="Python.html" ?>
17<title>Python-&Python-version;</title>
18
19<sect2>
20<title>Introduction to <application>Python</application></title>
21
22<para>The <application>Python</application> package contains the
23<application>Python</application> development environment.
24This is useful for object-oriented programming, writing scripts,
25prototyping large programs or developing entire applications.</para>
26
27<sect3><title>Package information</title>
28<itemizedlist spacing='compact'>
29<listitem><para>Download (HTTP): <ulink url="&Python-download-http;"/></para></listitem>
30<listitem><para>Download (FTP): <ulink url="&Python-download-ftp;"/></para></listitem>
31<listitem><para>Download size: &Python-size;</para></listitem>
32<listitem><para>Estimated Disk space required: &Python-buildsize;</para></listitem>
33<listitem><para>Estimated build time: &Python-time;</para></listitem></itemizedlist>
34</sect3>
35
36<sect3><title>Additional downloads</title>
37<itemizedlist spacing='compact'>
38<listitem><para>Required patch (HTTP): <ulink
39url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
40</itemizedlist>
41</sect3>
42
43<sect3><title><application>Python</application> dependencies</title>
44<sect4><title>Optional</title>
45<para><xref linkend="expat"/>, <xref linkend="tk"/>, <xref
46linkend="gdbm"/>, <xref linkend="db"/>, <xref linkend="gmp"/> and
47<xref linkend="readline"/>
48</para></sect4>
49</sect3>
50
51</sect2>
52
53<sect2>
54<title>Installation of <application>Python</application></title>
55
56<para>Install <application>Python</application> by running the following
57commands:</para>
58
59<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
60./configure --prefix=/usr --enable-shared &amp;&amp;
61make &amp;&amp;
62make install</command></userinput></screen>
63
64</sect2>
65
66<sect2>
67<title>Command explanations</title>
68
69<para><option>--with-libm=-lgmp</option>: Use this switch to enable
70<application>Python</application> to use the <application>GMP</application>
71math library.</para>
72
73</sect2>
74
75<sect2>
76<title>Contents</title>
77
78<para>The <application>Python</application> package contains
79<command>python</command>, <command>pydoc</command> and
80<application>Python</application> libraries, modules and scripts. If
81<application>Tk</application> is installed, the <command>idle</command>
82script will also be installed.</para>
83
84</sect2>
85
86<sect2><title>Description</title>
87
88<sect3><title>python</title>
89<para><command>python</command> is an interpreted, interactive,
90object-oriented programming language.</para></sect3>
91
92<sect3><title>pydoc</title>
93<para><command>pydoc</command> is the <application>Python</application>
94documentation tool.</para></sect3>
95
96<sect3><title>idle</title>
97<para><command>idle</command> is a wrapper script that opens a
98<application>Python</application> aware <acronym>GUI</acronym>
99editor.</para></sect3>
100
101</sect2>
102
103</sect1>
104
Note: See TracBrowser for help on using the repository browser.