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 * do echo $file pkgask -r /tmp/$file.response -d . $file done This will loop through each product directory. While executing pkgask, you will be 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/16.20.
-
Run ./setup.bat with one of the following command line options:
A screen similar to the following will display. This example is from a Linux install using the "setup.bat a" command. Actual output will be specific to the platform.
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 arc bteq cobpp Installs three 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/16.20 unless another 16.20 product is already installed at a different prefix. ############# ### ### ### ###### ####### ## ###### ## ######### ## ### ## ## ## #### ## ## #### ## #### ### ## ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## ## ### ##### ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ###### ## ## ## ###### ## ## ###### ## ### ## ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## ## ### ######## #### ## ##### ## ## # ## ## ## Welcome to the Teradata Tools and Utilities 16.20 installation v.16.20.00.00 Copyright 2002-2017 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 16.20. 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-16.20.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.