An install configuration file (ttu_install.cfg) can be used to change the default behavior during install. Teradata recommends placing the file in the /var/opt/teradata directory.
Other options for placing the file:
- Set the environment variable TTU_INSTALL_CFG to point to a preferred location. For example, if the file is located in the /usr/teradata directory, run the following command:
export TTU_INSTALL_CFG=/usr/teradata
- Place ttu_install.cfg in the user's HOME directory.These locations will be scanned only if no file by name ttu_install.cfg is found in /var/opt/teradata.
Teradata Tools and Utilities supports the following options (case-insensitive) within the configuration file ttu_install.cfg:
- InstallDir=prefix
- ShareLibs=yes|no
- BinPath=Back|Front
The ttu_install.cfg file can also specified by the path in the environment variable TTU_INSTALL_CFG or in the user's home directory. If the ttu_install.cfg file is not found, then the value of SharedLibs default to yes.
If the ttu_install.cfg file is not found in /var/opt/teradata, or in any location stored within TTU_INSTALL_CFG, then the values for SharedLibs default to no and the value for updateETC defaults to yes.
OptionName | Value | Meaning |
---|---|---|
InstallDir | prefix | Install root location; for example, InstallDir=/abc |
ShareLibs | no | Symbolic links are created in /usr/lib, /usr/lib64, /usr/include, and /usr/bin. |
ShareLibs | yes | Symbolic links are created in /usr/lib, /usr/lib64, /usr/include, and /usr/bin, if we can write to /usr/lib and /usr/bin. If we cannot create the symbolic links, the install fails. |
ShareLibs | no | Symbolic links are not created in /usr/lib. |
ShareLibs | yes | Symbolic links are created in /usr/lib, if we can write to that location. If we cannot create the symbolic links, the install fails. |
ShareLibs | no | Symbolic links are not created in /usr/lib and /usr/bin. |
ShareLibs | yes | Symbolic links are created in /usr/lib and /usr/bin, if we can write to those locations. If we cannot create the softlinks, the install fails. |
BinPath | Back | The TTU bin path will be added to the end of the PATH environment variable. This is the default if no option is specified. |
BinPath | Front | The TTU bin path will be added to the front of the PATH environment variable. |