|
2 | 2 |
|
3 | 3 | Endless Lifecycle Support (ELS) for Python from TuxCare provides security fixes for Python versions that have reached their end-of-life. This allows you to continue running your server vulnerability-free.
|
4 | 4 |
|
5 |
| -## Supported OS |
| 5 | +## Supported OS and Python versions |
6 | 6 |
|
7 |
| -TuxCare provides Endless Lifecycle Support for four years after the EOL date. |
| 7 | +**Supported architecture:** 64-bit. |
8 | 8 |
|
9 |
| -| OS | Version | |
10 |
| -| :-----------------------------------: | :------------------------------------------------------------------: | |
11 |
| -| CentOS, CloudLinux, OracleLinux, etc. | 6.x 64-bit, 7.x 64-bit, 8.x 64-bit | |
12 |
| -| AlmaLinux | 9.x 64-bit | |
13 |
| -| Ubuntu | 16.04 64-bit, 18.04 64-bit, 20.04 64-bit, 22.04 64-bit, 24.04 64-bit | |
| 9 | +| OS | Package Type | OS Version | Python version | |
| 10 | +| :-----------------------------------: | :----------: | :-------------------------------: | :------------: | |
| 11 | +| CentOS, CloudLinux, OracleLinux, etc. | RPM | 6.x, 7.x, 8.x | 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 | |
| 12 | +| AlmaLinux | RPM | 9.x | 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 | |
| 13 | +| Ubuntu | DEB | 16.04, 18.04, 20.04, 22.04, 24.04 | 3.8, 3.11 | |
| 14 | +| Debian | DEB | 10, 11, 12 | 3.8, 3.11 | |
14 | 15 |
|
15 |
| -*Other distros upon request. |
| 16 | +*Other distros and architectures upon request. |
16 | 17 |
|
17 |
| -## Supported versions |
| 18 | +## Installation Instructions for Linux |
18 | 19 |
|
19 |
| -* **EL6, 7, 8, 9**: alt-python 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 |
20 |
| -* **Debian 9 and 10**: 3.5, 3.8, 3.11 |
21 |
| -* **Debian 11 and 12**: 3.8, 3.11 |
22 |
| -* **Ubuntu 16 and 18**: 3.5, 3.8, 3.11 |
23 |
| -* **Ubuntu 20**: 3.7, 3.8, 3.10, 3.11, 3.12 |
24 |
| -* **Ubuntu 22**: 3.8, 3.11, 3.13 |
25 |
| -* **Ubuntu 24**: 3.8, 3.11 |
| 20 | +### RPM-based |
26 | 21 |
|
27 |
| -## Installation instructions of yum repositories |
| 22 | +These steps are suitable for RPM-based systems (CentOS, CloudLinux, AlmaLinux, Oracle Linux, etc). |
28 | 23 |
|
29 | 24 | 1. Download the installer script:
|
30 | 25 |
|
31 | 26 | ```text
|
32 |
| -wget https://repo.cloudlinux.com/python-els/install-python-els-repo.sh |
| 27 | +wget https://repo.alt.tuxcare.com/alt-python-els/install-els-alt-python-rpm-repo.sh |
33 | 28 | ```
|
34 | 29 |
|
35 | 30 | 2. Run the installer script with your key. The installation script registers the server to CLN with the key, and adds our PGP key and repository to the server.
|
36 | 31 |
|
37 | 32 | ```text
|
38 |
| -sh install-python-els-repo.sh --license-key XXX-XXXXXXXXXXXX |
| 33 | +sh install-els-alt-python-rpm-repo.sh --license-key XXX-XXXXXXXXXXXX |
39 | 34 | ```
|
40 | 35 |
|
41 | 36 | 3. Verify that the installation was successful.
|
42 | 37 |
|
43 | 38 | To ensure the installation has been completed successfully, run the following command. It should return info about a package. If information about the package is available it means that installation was successful. After which, updates will be available for installation from the repository using the usual `yum upgrade` command.
|
44 | 39 |
|
45 | 40 | ```text
|
46 |
| -yum info python2 |
| 41 | +yum info alt-python36 |
47 | 42 |
|
48 | 43 | Available Packages
|
49 |
| -Name : python2 |
50 |
| -Version : 2.7.18 |
51 |
| -Release : 10.el9.tuxcare.els1 |
| 44 | +Name : alt-python36 |
| 45 | +Version : 3.6.15 |
| 46 | +Release : 4.el9 |
52 | 47 | Architecture : x86_64
|
53 |
| -Size : 43 k |
54 |
| -Source : python2-2.7.18-10.el9.tuxcare.els1.src.rpm |
55 |
| -Repository : python-els |
56 |
| -Summary : An interpreted, interactive, object-oriented programming language |
| 48 | +Size : 26 k |
| 49 | +Source : alt-python36-3.6.15-4.el9.src.rpm |
| 50 | +Repository : alt-python |
| 51 | +Summary : Version 3 of the Python programming language aka Python 3000 |
57 | 52 | URL : https://www.python.org/
|
58 | 53 | License : Python
|
59 |
| -Description : Python 2 is an old version of the language that is incompatible |
60 |
| - : with the 3.x line of releases. |
| 54 | +Description : Python 3 is a new version of the language that is incompatible |
| 55 | + : with the 2.x line of releases. The language is mostly the same, |
| 56 | + : but many details, especially how built-in objects like |
| 57 | + : dictionaries and strings work, have changed considerably, and a |
| 58 | + : lot of deprecated features have finally been removed. |
61 | 59 | ```
|
62 | 60 |
|
63 | 61 | 4. To install python, it's necessary to enable the CodeReady Builder(CRB) repository, which contains the `gdbm` package.
|
64 | 62 |
|
65 | 63 | ```text
|
66 |
| -yum install python2 --enablerepo crb |
| 64 | +yum install alt-python36 --enablerepo crb |
67 | 65 | ```
|
68 | 66 |
|
69 |
| -5. Once installed, you can use python2 in the usual way. |
| 67 | +5. `alt-python` versions are intended to be installed alongside the system's default python and allow multiple versions to coexist. To use a specific `alt-python` version, please, run it directly from its installation directory, for example: |
70 | 68 |
|
71 | 69 | ```text
|
72 |
| -$ python2 |
73 |
| -Python 2.7.18 (default, Jun 30 2022, 00:00:00) |
74 |
| -[GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] on linux2 |
| 70 | +$ /opt/alt/python36/bin/python3.6 |
| 71 | +Python 3.6.15 (default, Apr 10 2024, 00:00:00) |
| 72 | +[GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] on linux |
75 | 73 | Type "help", "copyright", "credits" or "license" for more information.
|
76 |
| ->>> print "Hello, World!" |
| 74 | +>>> print("Hello, World!") |
77 | 75 | Hello, World!
|
78 | 76 | ```
|
79 | 77 |
|
| 78 | +### DEB-based |
| 79 | + |
| 80 | +These steps are suitable for DEB-based systems (Ubuntu, Debian). |
| 81 | + |
| 82 | +1. Download the installer script: |
| 83 | + |
| 84 | +```text |
| 85 | +wget https://repo.alt.tuxcare.com/alt-python-els/install-els-alt-python-deb-repo.sh |
| 86 | +``` |
| 87 | + |
| 88 | +2. Run the installer script with your key. The installation script registers the server to CLN with the key, and adds our PGP key and repository to the server. |
| 89 | + |
| 90 | +```text |
| 91 | +bash install-els-alt-python-deb-repo.sh --license-key XXX-XXXXXXXXXXXX |
| 92 | +``` |
| 93 | + |
| 94 | +3. Verify that the installation was successful. |
| 95 | + |
| 96 | +To ensure the installation has been completed successfully, run the following command. It should return info about a package. If information about the package is available it means that installation was successful. After which, updates will be available for installation from the repository using the usual `apt upgrade` command. |
| 97 | + |
| 98 | +```text |
| 99 | +apt-cache show alt-python36 |
| 100 | +``` |
| 101 | + |
| 102 | +<!-- |
80 | 103 | ## Installation instructions of a local mirror
|
81 | 104 |
|
82 | 105 | We provide the ability to create local mirrors of Python for ELS updates.
|
@@ -124,3 +147,4 @@ wget https://repo.cloudlinux.com/python-els/almalinux9-els-python-oval.xml
|
124 | 147 | ```text
|
125 | 148 | oscap oval eval --results result.xml --report report.xml almalinux9-els-python-oval.xml
|
126 | 149 | ```
|
| 150 | +--> |
0 commit comments