centos7 shell脚本一键安装python3.7
最近要安装个东西,发现要python3才能支持,为了方便以后不用进行重复性工作,我就写了个一键安装python 3.7的脚本.
系统:centos 7.x(64位)
cat /root/soft_shell/auto_install_python3.sh
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin export PATH # Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You must be root to ru...