sudo yum install -y gcc openssl-devel libffi-devel bzip2-devel wget
cd /opt
wget https://www.python.org/ftp/python/3.8.9/Python-3.8.9.tgz
tar xzvf Python-3.8.9.tgz
sudo yum install -y libffi-devel libffi libffi-dev libffi-devel libffi-devel libffi-devel libffi-dev libffi-devel libffi-devel libffi-dev libffi-devel libffi-devel
cd Python-3.8.9/
sudo ./configure --enable-optimizations
sudo make altinstall
sudo yum install postgresql-devel
cd /usr/local/bin
sudo yum install python3-pip
sudo mkdir /usr/share/httpd/.config
sudo mkdir /usr/share/httpd/.config/matplotlib
sudo chown apache:apache -R /usr/share/httpd/.config



  • No labels