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
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
留言
張貼留言