%general-entities; ]> Python-&python311-version; Python3.11 Introduction to Python 3.11 The Python 3.11 package contains an older version of the Python development environment. This is only needed for building specific programs in BLFS that have not updated their build systems to support (e.g , and , ) Do NOT install this package if you are not installing one of the above programs. &lfs121_checked; Package Information Download (HTTP): Download MD5 sum: &python311-md5sum; Download size: &python311-size; Estimated disk space required: &python311-buildsize; Estimated build time: &python311-time; Python 3.11 Dependencies Recommended (required if building firefox or thunderbird) Installation of Python 3.11 Install Python 3.11 by running the following commands: CXX="/usr/bin/g++" \ ./configure --prefix=/opt/python3.11 \ --disable-shared \ --with-system-expat && make Since this package is only used in very limited situations, tests are not recommended. Now, as the root user: make install Command Explanations CXX="/usr/bin/g++" ./configure ...: Avoid an annoying message during configuration. --prefix=/opt/python3.11: This installs python 3.11 into /opt in order to avoid conflicts with the system version of python, and allows for easy removal/isolation once programs update to python3.12 or later. --disable-shared: This switch disables building shared libraries. Since all the packages that need python-3.11 have built in modules and don't directly link to python, it is safe to turn off shared library support. --with-system-expat: This switch enables linking against the system version of Expat. Contents Installed Programs Installed Libraries Installed Directories python3.11 libpython3.11.a /opt/python3.11/include/python3.11, and /opt/python3.11/lib/python3.11, Short Descriptions python3.11 is a version-specific name for the python program python3.11