📅  最后修改于: 2022-03-11 14:47:45.282000             🧑  作者: Mango
$ tar -xf Python-3.7.4.tgz
$ cd python-3.7.4
$ ./configure --enable-optimizations
# The --enable-optimizations option will optimize the Python binary by
# running multiple tests. This makes the build process slower.
$ make
$ make altinstall
# Do not use the standard make install as it will overwrite
# the default system python3 binary