Silently Installing Teradata Tools and Utilities - Teradata Tools and Utilities

Teradata® Tools and Utilities for Oracle Solaris on SPARC and AMD Opteron Systems Installation Guide

Product
Teradata Tools and Utilities
Release Number
17.10
Published
October 2021
Language
English (United States)
Last Update
2021-11-01
dita:mapPath
zjd1608578347018.ditamap
dita:ditavalPath
hrk1498764225196.ditaval
dita:id
B035-3136
lifecycle
previous
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/17.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/17.10 unless another 17.10 product is already installed at a different prefix.
    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 17.10 installation    v.17.10.00.00
    Copyright 2001-2021 by 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.
    …
    There is a previous release installed that is incompatible with the
    version of TTU to be installed. The     XX.XX     TTU Client Software should
    be removed before installing 17.10.
     
    The previously installed packages will be automatically removed at this time.
    Removing packages prior to version 15.10.10.00.
    …
    .......................................................................
    The following packages are installed:
    1.     product                      -     XX.XX.XX.XX    
    2.     product                      -     XX.XX.XX.XX    
    …
    15.     product                     -     XX.XX.XX.XX    
    16.     product                     -     XX.XX.XX.XX    
    Removing:     prod-XX.XX.XX.XX - XX.XX.XX.XX    
    Removing:     prod-XX.XX.XX.XX - XX.XX.XX.XX    
    …
    Removing:     prod-XX.XX.XX.XX - XX.XX.XX.XX    
    ......................................................
    Installing: Product-17.10.00.00
    Preparing...                ########################################### [100%]
       1:Product                ########################################### [100%]
    Installing: Product
    Preparing...                ########################################### [100%]
       1:Product                ########################################### [100%]
    Installing: Product
       1:Product                ########################################### [100%]
    Adding xxxxx entry to /etc/services file.
    setting soft links in /usr/lib
    Installing: Product
    Preparing...                ########################################### [100%]
       1:Product                ########################################### [100%]
    …
    > 
    
  6. Change back to the root directory.
  7. Log off and then log on to enable the newly installed software packages.