Installing Python 3.7.6
Procedure
- Download the Python source package.
cd /path/to/GALAXY wget https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz
- Decompress the installation package and perform the installation.
tar -xvf Python-3.7.6.tar.xz cd python-3.7.6 ./configure --prefix=/path/to/GALAXY/python3.7.6 make -j && make -install
- Add the environment variable.
vi ~/.bashrc
- Add the following content to the end of the file:
export PATH=/path/to/GALAXY/python3.7.6/bin:$PATH
- Exit the insert mode. Run the following command to save the file and exit.
wq!
- Enable this file.
source ~/.bashrc
- Perform the verification.
python -V
Parent topic: Configuring the Compilation Environment