use latest python minor

This commit is contained in:
Ariel Rin 2024-02-23 20:37:41 +10:00
parent da2a5aff2f
commit 87b9e3f87a
No known key found for this signature in database
2 changed files with 19 additions and 19 deletions

View File

@ -85,9 +85,9 @@ We need to build Python from source
```bash ```bash
cd ~ cd ~
sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget
wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz wget https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz
tar xvf Python-3.11.5.tgz tar xvf Python-3.11.7.tgz
cd Python-3.11.5/ cd Python-3.11.7/
./configure --enable-optimizations --enable-shared ./configure --enable-optimizations --enable-shared
sudo make altinstall sudo make altinstall
``` ```
@ -99,9 +99,9 @@ We need to build Python from source
```bash ```bash
cd ~ cd ~
sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget
wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz wget https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz
tar xvf Python-3.11.5.tgz tar xvf Python-3.11.7.tgz
cd Python-3.11.5/ cd Python-3.11.7/
./configure --enable-optimizations --enable-shared ./configure --enable-optimizations --enable-shared
sudo make altinstall sudo make altinstall
``` ```
@ -113,9 +113,9 @@ We need to build Python from source
```bash ```bash
cd ~ cd ~
sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget
wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz wget https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz
tar xvf Python-3.11.5.tgz tar xvf Python-3.11.7.tgz
cd Python-3.11.5/ cd Python-3.11.7/
./configure --enable-optimizations --enable-shared ./configure --enable-optimizations --enable-shared
sudo make altinstall sudo make altinstall
``` ```

View File

@ -15,7 +15,7 @@ To run AA with a newer Python 3 version than your system's default you need to i
To install other Python versions than those included with your distribution, you need to add a new installation repository. Then you can install the specific Python 3 to your system. To install other Python versions than those included with your distribution, you need to add a new installation repository. Then you can install the specific Python 3 to your system.
:::{note} :::{note}
Ubuntu 2204 ships with Python 3.10 already Ubuntu 2204 ships with Python 3.10 already
::: :::
Centos Stream 8/9: Centos Stream 8/9:
@ -39,9 +39,9 @@ sudo apt-get install python3.11 python3.11-dev python3.11-venv
```bash ```bash
cd ~ cd ~
sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget
wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz wget https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz
tar xvf Python-3.11.5.tgz tar xvf Python-3.11.7.tgz
cd Python-3.11.5/ cd Python-3.11.7/
./configure --enable-optimizations --enable-shared ./configure --enable-optimizations --enable-shared
sudo make altinstall sudo make altinstall
``` ```
@ -52,9 +52,9 @@ sudo make altinstall
```bash ```bash
cd ~ cd ~
sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget
wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz wget https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz
tar xvf Python-3.11.5.tgz tar xvf Python-3.11.7.tgz
cd Python-3.11.5/ cd Python-3.11.7/
./configure --enable-optimizations --enable-shared ./configure --enable-optimizations --enable-shared
sudo make altinstall sudo make altinstall
``` ```
@ -65,9 +65,9 @@ sudo make altinstall
```bash ```bash
cd ~ cd ~
sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget
wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz wget https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz
tar xvf Python-3.11.5.tgz tar xvf Python-3.11.7.tgz
cd Python-3.11.5/ cd Python-3.11.7/
./configure --enable-optimizations --enable-shared ./configure --enable-optimizations --enable-shared
sudo make altinstall sudo make altinstall
``` ```