Skip to content

Commit d3ec668

Browse files
authored
Merge pull request #154 from sboldyreva/python
Update ELS for Python info
2 parents eb8cd1f + 043e264 commit d3ec668

File tree

2 files changed

+62
-36
lines changed

2 files changed

+62
-36
lines changed

docs/.vuepress/routes.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@
2020
"/els-for-languages/#endless-lifecycle-support-for-apache-tomcat": "/els-for-languages/apache-tomcat",
2121
"/els-for-languages/#endless-lifecycle-support-for-net-6": "/els-for-languages/dotnet",
2222
"/els-for-languages/#endless-lifecycle-support-for-angular": "/els-for-languages/angular",
23-
"/els-for-languages/#endless-lifecycle-support-for-angularjs": "/els-for-languages/angularjs"
23+
"/els-for-languages/#endless-lifecycle-support-for-angularjs": "/els-for-languages/angularjs",
24+
"/els-for-languages/python/#supported-versions": "/els-for-languages/python/#supported-os-and-python-versions",
25+
"/els-for-languages/python/#supported-os": "/els-for-languages/python/#supported-os-and-python-versions"
2426
}

docs/els-for-languages/python/README.md

Lines changed: 59 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,81 +2,104 @@
22

33
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.
44

5-
## Supported OS
5+
## Supported OS and Python versions
66

7-
TuxCare provides Endless Lifecycle Support for four years after the EOL date.
7+
**Supported architecture:** 64-bit.
88

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 |
1415

15-
*Other distros upon request.
16+
*Other distros and architectures upon request.
1617

17-
## Supported versions
18+
## Installation Instructions for Linux
1819

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
2621

27-
## Installation instructions of yum repositories
22+
These steps are suitable for RPM-based systems (CentOS, CloudLinux, AlmaLinux, Oracle Linux, etc).
2823

2924
1. Download the installer script:
3025

3126
```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
3328
```
3429

3530
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.
3631

3732
```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
3934
```
4035

4136
3. Verify that the installation was successful.
4237

4338
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.
4439

4540
```text
46-
yum info python2
41+
yum info alt-python36
4742
4843
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
5247
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
5752
URL          : https://www.python.org/
5853
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.
6159
```
6260

6361
4. To install python, it's necessary to enable the CodeReady Builder(CRB) repository, which contains the `gdbm` package.
6462

6563
```text
66-
yum install python2 --enablerepo crb
64+
yum install alt-python36 --enablerepo crb
6765
```
6866

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:
7068

7169
```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
7573
Type "help", "copyright", "credits" or "license" for more information.
76-
>>> print "Hello, World!"
74+
>>> print("Hello, World!")
7775
Hello, World!
7876
```
7977

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+
<!--
80103
## Installation instructions of a local mirror
81104
82105
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
124147
```text
125148
oscap oval eval --results result.xml --report report.xml almalinux9-els-python-oval.xml
126149
```
150+
-->

0 commit comments

Comments
 (0)