17.00 - 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

prodname
Teradata Tools and Utilities
vrm_release
17.00
created_date
November 2020
category
Installation
featnum
B035-3136-220K
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, etc. 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.bat:
    Option Action
    ./setup.bat a Installs all packages and any required dependencies except tdwallet.
    ./setup.bat w Installs all packages and any required dependencies, including tdwallet.
    ./setup.bat bteq Installs one package (in this example, BTEQ) and any required dependencies.
    ./setup.bat bteq cobpp Installs two packages and any required dependencies (you can specify as many package names as you want).
    ./setup.bat 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.bat bteq -installdir=/abc Installs BTEQ (in this example) in /abc/teradata/client/17.00 unless another 17.00 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.bat a" command. Actual output will be specific to the platform.
    #############
          ###
          ###
          ### ###### #######       ##      ######        ##   #########  ##
          ### ##     ##    ##     ####     ##    ##     ####     ##     ####
          ### ##     ##    ##    ##  ##    ##     ##   ##  ##    ##    ##  ##
          ### ##     ##   ##    ##    ##   ##     ##  ##    ##   ##   ##    ##
          ### #####  ## ##      ##    ##   ##     ##  ##    ##   ##   ##    ##
          ### ##     ##  ##    ######  ##  ##     ## ######  ##  ##  ######  ##
          ### ##     ##   ##   ##      ##  ##     ## ##      ##  ##  ##      ##
          ### ##     ##    ## ##        ## ##    ## ##        ## ## ##        ##
          ###  ########     ####        ##  #####   ##        ##  # ##        ##
           ##
     
    Welcome to the Teradata Tools and Utilities 17.00 installation    v.17.00.00.00
    Copyright 2002-2019 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.00.
     
    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.00.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.