%general-entities; ]> Python &python-version;
&python-url;
Python-&python-version; Python temporary <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter08/python.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&python-tmp-sbu;</seg> <seg>&python-tmp-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Python There are two package files whose name starts with python. The one to extract from is Python-&python-version;.tar.xz (notice the uppercase first letter). Prepare Python for compilation: ./configure --prefix=/usr \ --enable-shared \ --without-ensurepip The meaning of the configure option: --enable-shared This switch prevents installation of static libraries. --without-ensurepip This switch disables the Python package installer, which is not needed at this stage. Compile the package: make Some Python 3 modules can't be built now because the dependencies are not installed yet. The building system still attempts to build them however, so the compilation of some files will fail and the compiler message may seem to indicate fatal error. The message should be ignored. Just make sure the toplevel make command has not failed. The optional modules are not needed now and they will be built in . Install the package: make install <para>Details on this package are located in <xref linkend="contents-python" role="."/></para> </sect2> </sect1>