Install Open Source Python on CentOS/RHEL | Teradata Package for Python - Installing Open Source Python on CentOS/RHEL - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
  1. Install Development Tools.
    sudo yum groupinstall 'Development Tools'
  2. Get Python 3.5.0 source code, and configure and install Python.
    1. Make $HOME/opt directory and change to this directory.
      mkdir -p $HOME/opt
      cd $HOME/opt
    2. Get the Python 3.5.0 source code.
      curl -O https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz
    3. Unzip the downloaded Python package.
      tar xzvf Python-3.5.0.tgz
    4. Change to the directory where the package is unzipped.
      cd Python-3.5.0
    5. Configure the settings.
      ./configure --enable-shared --prefix=/usr/local --exec-prefix=/usr/local"
    6. Install the Python.
      sudo make altinstall