1 yum -y install "Development tools"
2 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel t k-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel
3 wget http://npm.taobao.org/mirrors/python/3.8.0/Python-3.8.0rc1.tar.xz
4 mkdir /usr/local/python3
5 tar -xvJf Python-3.8.0rc1.tar.xz
6 cd Python-3.8.0rc1
7 ./configure --prefix=/usr/local/python3
8 make && make install
9 ln -s /usr/local/python3/bin/python3 /usr/bin/python3
10 ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3

相关文章:

  • 2021-11-12
  • 2021-12-12
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-09-04
猜你喜欢
  • 2022-12-23
  • 2021-06-26
  • 2021-08-23
  • 2021-10-01
  • 2022-12-23
  • 2021-09-11
相关资源
相似解决方案