一次python3.10安装的过程
403 wget https://www.python.org/ftp/python/3.10.9/Python-3.10.9.tgz
404 ll
405 tar -zxvf Python-3.10.9.tgz
406 cd Python-3.10.9
407 ./configure --prefix=/usr/local/python3 --enable-optimizations
408 make && make install
409 ./configure --prefix=/usr/local/python3
410 make && make install
411 ./configure prefix=/usr/local/python3
412 make clean
413 make
414 yum install -y bzip2-devel
415 yum install -y libffi-devel
416 yum install -y gcc
417 make install
418 python3 -V
419 python3 -v
420 ln -s /usr/local/python3/bin/python3.10 /usr/bin/python
421 ll /usr/bin/python
422 ll /usr/bin/python3
423 rm -rf /usr/bin/python3
424 ln -s /usr/local/python3/bin/python3.10 /usr/bin/python3
425 python3 -v
404 ll
405 tar -zxvf Python-3.10.9.tgz
406 cd Python-3.10.9
407 ./configure --prefix=/usr/local/python3 --enable-optimizations
408 make && make install
409 ./configure --prefix=/usr/local/python3
410 make && make install
411 ./configure prefix=/usr/local/python3
412 make clean
413 make
414 yum install -y bzip2-devel
415 yum install -y libffi-devel
416 yum install -y gcc
417 make install
418 python3 -V
419 python3 -v
420 ln -s /usr/local/python3/bin/python3.10 /usr/bin/python
421 ll /usr/bin/python
422 ll /usr/bin/python3
423 rm -rf /usr/bin/python3
424 ln -s /usr/local/python3/bin/python3.10 /usr/bin/python3
425 python3 -v
版权属于:BLOG DEWEBSTUDIO 本文作者:狒狒
原文地址: http://blog.dewebstudio.com/?post=127
版权声明:转载时必须以链接形式注明原始出处及本声明。
继续浏览: python3.10 安装过程
发表评论