centos下安装python的运行环境一:下载源码包1wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3rc1.tgz二:解压后进入目录,下面给出解压命令1tar -zxvf Python-3.8.3rc1.tgz三:进行编译安装1./configure --prefix=/opt/python3.8 # 指定安装目录为/opt/python3.81make && make install四:更改linux的path变量编辑path文件1vim /etc/profile在尾部添加1PATH=/opt/python3.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin重载配置文件1source /etc/profile 项目部署 #centos #Pythoncentos下安装python的运行环境https://www.eldpepar.com/deploy/32520/作者EldPepar发布于2021年12月13日许可协议 Drone+Gogs+Docker无坑部署SpringBoot后端程序 上一篇无坑配置drone+gogs+docker自动部署环境 下一篇 Please enable JavaScript to view the comments