Lines Matching +full:openssl +full:- +full:version
3 .. _using-on-unix:
12 Getting and installing the latest version of Python
16 --------
21 latest version of Python from source.
29 https://www.debian.org/doc/manuals/maint-guide/first.en.html
33 …https://docs-old.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-creating…
35 http://www.slackbook.org/html/package-management-making-packages.html
40 ----------------------
48 pkg_add -r python
50 …ftp://ftp.openbsd.org/pub/OpenBSD/4.2/packages/<insert your architecture here>/python-<version>.tgz
52 For example i386 users get the 2.5.1 version of Python using::
54 pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/4.2/packages/i386/python-2.5.1p2.tgz
58 --------------
61 of Python are available and can be installed with e.g. ``pkgutil -i python27``.
64 .. _building-python-on-unix:
72 <https://devguide.python.org/setup/#get-the-source-code>`_. (If you want
81 :ref:`Configuration options <configure-options>` and caveats for specific Unix
89 since it only installs :file:`{exec_prefix}/bin/python{version}`.
92 Python-related paths and files
96 :option:`prefix <--prefix>` and :option:`exec_prefix <--exec-prefix>`
97 are installation-dependent and should be interpreted as for GNU software; they
102 +-----------------------------------------------+------------------------------------------+
106 +-----------------------------------------------+------------------------------------------+
107 | :file:`{prefix}/lib/python{version}`, | Recommended locations of the directories |
108 | :file:`{exec_prefix}/lib/python{version}` | containing the standard modules. |
109 +-----------------------------------------------+------------------------------------------+
110 | :file:`{prefix}/include/python{version}`, | Recommended locations of the directories |
111 | :file:`{exec_prefix}/include/python{version}` | containing the include files needed for |
114 +-----------------------------------------------+------------------------------------------+
123 .. code-block:: shell-session
140 Custom OpenSSL
143 1. To use your vendor's OpenSSL configuration and system trust store, locate
144 the directory with ``openssl.cnf`` file or symlink in ``/etc``. On most
149 .. code-block:: shell-session
151 $ find /etc/ -name openssl.cnf -printf "%h\n"
154 2. Download, build, and install OpenSSL. Make sure you use ``install_sw`` and
156 ``openssl.cnf``.
158 .. code-block:: shell-session
160 $ curl -O https://www.openssl.org/source/openssl-VERSION.tar.gz
161 $ tar xzf openssl-VERSION
162 $ pushd openssl-VERSION
164 --prefix=/usr/local/custom-openssl \
165 --libdir=lib \
166 --openssldir=/etc/ssl
167 $ make -j1 depend
168 $ make -j8
172 3. Build Python with custom OpenSSL
173 (see the configure ``--with-openssl`` and ``--with-openssl-rpath`` options)
175 .. code-block:: shell-session
177 $ pushd python-3.x.x
178 $ ./configure -C \
179 --with-openssl=/usr/local/custom-openssl \
180 --with-openssl-rpath=auto \
181 --prefix=/usr/local/python-3.x.x
182 $ make -j8
187 Patch releases of OpenSSL have a backwards compatible ABI. You don't need
188 to recompile Python to update OpenSSL. It's sufficient to replace the
189 custom OpenSSL installation with a newer version.