TAR Script Usage Considerations - Teradata Tools and Utilities

Teradata® Tools and Utilities for Oracle Solaris on SPARC and AMD Opteron Systems Installation Guide

Product
Teradata Tools and Utilities
Release Number
16.20
Published
October 2018
Language
English (United States)
Last Update
2018-10-12
dita:mapPath
csj1527114222320.ditamap
dita:ditavalPath
opteron_No_ie.ditaval.ditaval
dita:id
B035-3136
lifecycle
previous
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:
  • /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 unable to be written, the script ends.

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

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 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.16.20.00.01                  *
************************************************************************
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:
---TeraGSS cliv2 tdicu piom
Listing the Available Packages and Platforms All of 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       TeraGSS

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