The TAR Script Command - Teradata Tools and Utilities

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

Product
Teradata Tools and Utilities
Release Number
16.20
Published
November 2020
Language
English (United States)
Last Update
2020-11-19
dita:mapPath
del1512703274392.ditamap
dita:ditavalPath
linux_No_ie.ditaval
dita:id
B035-3160
lifecycle
previous
Product Category
Teradata Tools and Utilities

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, all of 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 of the 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, all of the 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 of the dependent packages are included in the archive.