Install Open Source Python on SLES 12 | Teradata Package for Python - 17.00 - Installing Open Source Python on SLES 12 - Teradata Package for Python

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.00
Release Date
November 2021
Content Type
User Guide
Publication ID
B700-4006-070K
Language
English (United States)
  1. Install GCC compiler and development environment.
    sudo zypper in gcc-c++ make ncurses glibc-devel
  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