17.10 - TAR Script Usage Considerations - Teradata Tools and Utilities

Teradata® Tools and Utilities for IBM AIX Installation Guide

Product
Teradata Tools and Utilities
Release Number
17.10
Release Date
June 2021
Content Type
Installation
Publication ID
B035-3125-061K
Language
English (United States)
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:
  • /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, ia64, i386, s390x, 
                   opteron, sparc, 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 bteq fastld

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

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
Linux

The available packages are:
--- AIX Products
bteq   fastexp   mload     npaxsmod   tdicu    tpump
cliv2  fastld    mqaxsmod  piom       

--- Linux Products
bteq   fastexp   mload     npaxsmod   tdicu    tpump
cliv2  fastld    mqaxsmod  piom