17.00 - The TAR Script Command - Teradata Tools and Utilities

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

prodname
Teradata Tools and Utilities
vrm_release
17.00
created_date
June 2020
category
Installation
featnum
B035-3160-220K

To launch the TAR script, run tar_teradata_client_packages.sh.

For the commands in the following table, the package-version identifier is not required. For example, the package names bteq and bteqxxxx (where xxxx is the version number) are equivalent.
Command Description
tar_teradata_client_packages help Displays the available commands.

tar_teradata_client_packages

or

tar_teradata_client_packages list

Displays the platforms and packages that are available on the installation media.
tar_teradata_client_packages list platform Lists the products for a specific platform that are available on the installation media.
  • Run the script with platform as the first parameter to create a tar file in the default target path. The resulting archive contains all Teradata client packages on the media for that platform.
    The value of the platform parameter can be one of the following:
    • aix
    • i386
    • ia64
    • opteron
    • s390x
    • sparc
    • ubuntu

    The path for the output can be changed. The output filename is in the following format:

    teradata-client-platform-media-name.tar.

    If the archive is compressed with gzip.exe, the script appends .gz to the filename.

  • Run the script with platform as the second parameter after the list parameter to list the packages available for the specified platform.
tar_teradata_client_packages platform package

Creates a tar file for the given platform and package.

Add the name of a package after the platform parameter. For example, to archive the bteq package for the Linux platform, type:

./tar_teradata_client_packages.sh platform bteq

The value of the platform parameter can be one of the following:
  • aix
  • i386
  • ia64
  • opteron
  • s390x
  • sparc
  • ubuntu
If you specify a package other than a dependent package, the following dependent packages are included in the archive:
  • cliv2
  • piom
  • tdicu

If you specify package names after the platform parameter, the script includes the dependent packages if they are available on the media.

If you specify individual packages, all dependent packages are included in the archive.

tar_teradata_client_packages platform package1 package2, etc.

Creates a tar file for a specific platform and specific packages.

Add the name of packages after the platform parameter. For example, to archive the bteq and FastLoad packages for the Linux platform, type:

./tar_teradata_client_packages.sh <aix|i386|ia64|opteron|s390x|sparc|ubuntu> bteq fastld

If you specify packages other than the dependent packages, the following dependent packages are included in the archive:
  • cliv2
  • piom
  • tdicu

If you specify package names after the platform parameter, the script includes the dependent packages if they are available on the media.

If you specify individual packages, all dependent packages are included in the archive.