Silently Installing Teradata Tools and Utilities - Silently Installing Teradata Tools and Utilities - Teradata Tools and Utilities

Teradata® Tools and Utilities for Linux Installation Guide Amazon Linux, CentOS, OEL, RedHat, SLES, Ubuntu - 20.00

Deployment
VantageCloud
deployment
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
20.00
Published
October 2023
Language
English (United States)
Last Update
2023-11-20
dita:mapPath
nax1691660037807.ditamap
dita:ditavalPath
ft:empty
dita:id
ems1473187628189
Product Category
Teradata Tools and Utilities
Use these steps to silently install Teradata Tools and Utilities from the command line.
  1. Change to the Solaris directory on the media containing the desired TTU Solaris packages:
    1.cd /Solaris/Sparc or # cd /Solaris/Opteron.
  2. Execute the following loop:
    1.for file in *
    do
    echo $file
    pkgask -r /tmp/$file.response -d . $file
    done
    This loops through each product directory. While executing pkgask, you are prompted with various questions, such as the directory in which to install and whether to modify the/etc/profile file, and so on. Your answers are saved as files in /tmp/<productname>.response.
  3. Modify the UNIX main install by adding -r <productname>.response to the pkgadd command.
  4. [Optional] To use silent installs with SMS, copy the response files into /var/log/teradata/client/20.00.
  5. Use one of the following command line options to run ./setup.sh:
    Option Action
    ./setup.sh a Installs all packages.
    ./setup.sh bteq Installs one package (in this example, BTEQ) and any required dependencies.
    ./setup.sh bteq tptbase Installs two packages and any required dependencies (you can specify as many package names as you want).
    ./setup.sh 1 2 3 Installs package numbers 1, 2, and 3 and any required dependencies (you can specify as many package numbers as you want).
    ./setup.sh bteq -installdir=/abc Installs BTEQ (in this example) in /abc/teradata/client/20.00 unless another 20.00 product is already installed at a different prefix.
    ./setup.sh bteq -prevrel=1 Installs BTEQ (in this example) in /opt/teradata/client/20.00 and any installed previous version (s) (17.10, 17.00, etc.) will not be removed.
    If an error message about one or more missing library files appears, use the yum install command to download and install the files.
    A screen similar to the following appears. This example is from a Linux install using the "setup.sh a" command. Actual output will be specific to the platform.
    Welcome to the Teradata Tools and Utilities XX.XX installation    v.XX.XX.XX.XX
    Copyright YYYY-YYYY Teradata. All rights reserved.
    IF YOU OR THE ENTITY FOR WHOM YOU ARE INSTALLING THIS SOFTWARE DOES NOT HAVE
    A WRITTEN LICENSE AGREEMENT WITH TERADATA FOR THIS SOFTWARE, DO NOT INSTALL,
    USE, OR ALLOW USE OF THIS SOFTWARE.
    
    Platform: Linux 64bit
    Media: TTU Foundation 64-bit Bundle
    ..................................................................
    
    Using /opt as the install directory as one hasn't been provided.
    Importing TD-RPM-SIGN-KEY
    TD-RPM-SIGN-KEY was imported.
    
    Installing: product
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:product-XX.XX.XX.XX-1            ################################# [100%]
    
    Installing: product
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:product-XX.XX.XX.XX-1            ################################# [100%]
    Running /opt/teradata/client/XX.XX/bin/setactiverel.sh ...
    Updating /etc/profile.d/td-ttu.csh and /etc/profile.d/td-ttu.sh...
    
    Installing: product
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:product-XX.XX.XX.XX-1            ################################# [100%]
    ...
    >
  6. Change back to the root directory.
  7. Log off and then log on to enable the newly installed software packages.