15.10.04 - Manually Uninstalling Packages - Teradata Tools and Utilities

Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide

Teradata Tools and Utilities
July 2017
Uninstall previous versions of Teradata GSS Client before installing the new one.
When you uninstall previous versions, custom configuration settings are deleted. If you have custom configuration information in the TdgssUserConfigFile.xml file, make a copy of the file before uninstalling the software. After installing the new version, copy the configuration file to the appropriate location and execute run_tdgssconfig to initialize the custom configuration. See Initializing Custom Configuration Settings for Teradata GSS Client. For information on accessing and making changes to the TdgssUserConfigFile.xml file, refer to Security Administration, B035-1100.

If a package was not properly uninstalled by the uninstallation script, run the script again. To manually uninstall a package, follow these steps:

  1. To see if a package is still installed, type:/usr/sbin/lslpp -R ALL –Lc | grep packagename /usr/sbin/swlist packagename rpm –q packagename pkginfo packagename
  2. To manually uninstall a package, type:/usr/sbin/installp –R <prefix> packagename

    where <prefix> is the install prefix (e.g., /opt is the install prefix).

    /usr/sbin/swremove packagename rpm –erase --ignoredeps packagename pkgrm packagename