我要评分
获取效率
正确性
完整性
易理解

Installing Python

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Use an SFTP tool to upload the Python installation package to the /path/to/PYTHON directory on the server.
  3. Run the following commands to go to the installation directory and decompress the installation package:
    cd /path/to/PYTHON
    tar -zxf Python-3.8.0.tgz && cd Python-3.8.0
  4. Run the following command to configure the compilation information:
    ./configure --prefix=/path/to/PYTHON --enable-shared --enable-loadable-sqlite-extensions --enable-optimization
  5. Run the following command to perform the compilation and installation:
    make -j && make install