Installing the Python Interpreter
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the installation package.
tar xf Python-3.8.2.tar.xz
- Go to the directory generated after the decompression.
cd Python-3.8.2
- Create a Makefile file.
./configure --prefix=/path/to/PYTHON
- Perform the compilation and installation.
make -j 96 make install
- Set the Python environment variables.
export PATH=/path/to/PYTHON/bin:$PATH
Parent topic: Configuring the Compilation Environment