Use these steps to silently install Teradata Tools and Utilities from the command line.
-
Change to the Solaris directory on the media containing the desired TTU Solaris packages:
1.cd /Solaris/Sparc or # cd /Solaris/Opteron.
-
Execute the following loop:
1.for file in *doecho $filepkgask -r /tmp/$file.response -d . $filedoneThis 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.
- Modify the UNIX main install by adding -r <productname>.response to the pkgadd command.
- [Optional] To use silent installs with SMS, copy the response files into /var/log/teradata/client/17.00.
-
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%] … >
- Change back to the root directory.
- Log off and then log on to enable the newly installed software packages.