通过 源码 安装 python

为了vim


PYTHON="3.4.1"

tget () { #try wget
    filename=`basename $1`
    echo "Downloading [${filename}]..."
    if [ ! -f ${filename} ];then
        wget $1
    fi

    echo "[OK] Downloaded [${filename}] "
}
tget https://www.python.org/ftp/python/${PYTHON}/Python-${PYTHON}.tgz
tar xf Python-${PYTHON}.tgz
cd Python-${PYTHON}	
./configure
make
make instal

posted @ 2020-07-14 09:48  schips  阅读(258)  评论(0编辑  收藏  举报