TAR Script Usage Considerations| TTU Installation Guide - TAR Script Usage Considerations - Teradata Tools and Utilities

Teradata® Tools and Utilities for Linux Installation Guide Amazon Linux, CentOS, OEL, RedHat, SLES, Ubuntu - 20.00

Deployment
VantageCloud
deployment
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-11-20
dita:mapPath
nax1691660037807.ditamap
dita:ditavalPath
ft:empty
dita:id
ems1473187628189
Product Category
Teradata Tools and Utilities
Subject Description
Default Directory The tar_teradata_client_packages script prompts for a directory to create the tar file. To use the default user directory, press Enter. By convention, the default home directory is %USERPROFILE%.By convention, the default home directory is:
  • /home/username if you run the script as a standard user
  • /root if you run the script as root

The script attempts to create the directory if it does not exist. If the location is read-only or cannot be written, the script aborts.

Multiple and Dependent Packages If a single package or multiple packages are selected, all dependent products are included, even if the product selected is a single dependent package.

Dependent packages typically have mutual dependencies. For example, dependent package cliv2 depends on the dependent package tdicu.

Getting Help on the Script To view command usage and optional command parameters, run the tar_teradata_client_packages by itself or with the optional help parameter:

tar_teradata_client_packages help

A screen similar to the following appears:
************************************************************************
*              Tar Teradata Client Packages v. xx.xx.xx.xx                  *
************************************************************************
Usage: tar_teradata_client_packages list
       tar_teradata_client_packages list {platform}
       tar_teradata_client_packages {platform} [{package1} {package2}
       ...]
Parameters:

commands         : help, list, {platform} [{package1} {package2} ...]
 help            : Display this help message.
 list            : List the available platforms and packages from the
                   media.
 list {platform} : List the packages available for the specified
                   platform.
 {platform}      : Available platforms: aix, i386, x8664, ubuntu-i386, 
                   ubuntu-x8664 or terajdbc for the TeraJDBC product.
                   Create the tar file for the supplied platform and
                   include all packages or individual packages.
{package}        : Specify the packages available on this media for the
                   specific platform. The parameter 'all' (or blank) will
                   include all available packages. To specify individual
                   packages, list the packages separated by a space.
                   Example: ./tar_teradata_client_packages.sh i386 tdodbc tdwallet

The dependencies will automatically be included and do not need to be
listed individually. The following packages are included:
---cliv2 tdicu piom
Listing the Available Packages and Platforms The platforms and packages contained on the installation media can be listed by running the tar_teradata_client_packages script with the list parameter, for example:

tar_teradata_client_packages list

tar_teradata_client_packages displays the same output.

To list all packages for a specific platform available on the installation media, run tar_teradata_client_packages list platform where platform is the value of one of the platforms. For example:

tar_teradata_client_packages list ubuntu-x8664

A screen similar to the following appears as a result. It lists all the platforms and packages on the current installation media:
***************************************************************************
*               Tar Teradata Client Packages v.XX.XX.XX.XX                *
***************************************************************************
TTU Foundation

The available platforms are:

AIX:
aix

Linux:
x8664
i386

Ubuntu:
Ubuntu-x8664
Ubuntu-i386

The available packages are:

--- Ubuntu i386 Products:
cliv2  sqlpp  tdicu  tdodbc  tdwallet

--- Ubuntu x8664 Products:
azureaxsmod  cliv2    fastld     jmsaxsmod    mload     npaxsmod  s3axsmod  tdicu   tdwallet  tpump
bteq         fastexp  gcsaxsmod  kafkaaxsmod  mqaxsmod  piom      sqlpp     tdodbc  tptbase