Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Python 3.7.6

Procedure

  1. 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
  2. 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
  3. Add the environment variable.
    vi ~/.bashrc
  4. Add the following content to the end of the file:
    export PATH=/path/to/GALAXY/python3.7.6/bin:$PATH
  5. Exit the insert mode. Run the following command to save the file and exit.
    wq!
  6. Enable this file.
    source ~/.bashrc
  7. Perform the verification.
    python -V