How to install python 3.10 in centos?

wget https://www.python.org/ftp/python/3.10.5/Python-3.10.6.tgz
tar xzvf Python-3.10.6.tgz
cd Python-3.10.5
sudo ./configure --with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions
sudo make -j ${nproc}
sudo make altinstall
python3.10 -V
ln -s /usr/loca/bin/python3.10 /usr/bin/python

留言

這個網誌中的熱門文章

10.29 Slow HTTP Denial of Service Attack (Slowloris)

在CentOS 8 Stream安裝NTP Client與設定時區

Update Pattern of TrendMicro AntiVirus Software - ServerProtect