1. Update System, installing wget and dependencies
sudo yum -y update
sudo yum -y install wget
sudo yum install -y gcc openssl-devel bzip2-devel libffi-devel
2. Download the tar file version
wget https://nodejs.org/download/release/latest/node-v22.8.0.tar.gz
3. Extract the tar file
tar xvf Python-3.11.10.tgz
4. In the folder
cd Python-3.11.10
5. Configure the makefile
./configure --enable-optimizations
6. Make
sudo make altinstall
7. Export the path
export PATH=/usr/local/bin:$PATH