Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Python

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Upload the Python source package to the path/to/PYTHON directory.
  3. Decompress the Python installation package.
    cd /path/to/PYTHON
    tar -zxvf Python-2.5.tgz
  4. Go to the directory generated after the decompression.
    cd Python-2.5
  5. Perform the configuration.
    SVNVERSION=not-found ./configure --prefix=path/to/PYTHON
  6. Perform the compilation and installation.
    make -j 16
    make install
  7. Set the Python environment variable.
    export PATH=path/to/PYTHON/bin:$PATH