Uninstalling components using the local option on UNIX or Linux


If a TrueSight Server Automation component was installed with the -local option, you must use the -local option to uninstall that component. However, you must set several environment variables before starting the uninstallation.

Note

To determine whether the -local option was used during installation and is necessary for uninstallation, examine the installation directories. If the HOME file is located in the <installDir>/NSH/conf/ directory, and not in the /etc/rsc/ directory, this indicates that the -local option was used.

 For more general information about uninstallation, see Uninstalling-components-on-Linux-and-UNIX and Uninstalling-other-components-on-UNIX-and-Linux.

To uninstall using the local option

  1. To begin the uninstallation process, run the following series of commands. As shown in these commands, you must set several environment variables before invoking the uninstaller.

    NSHDIR='<installDir>/NSH'
    export NSHDIR
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH:=}${LD_LIBRARY_PATH:+:}${NSHDIR}/lib
    export LD_LIBRARY_PATH
    <installDir>/NSH/Uninstall -local
  2. Continue with the uninstallation process as described in Uninstalling-other-components-on-UNIX-and-Linux.

To uninstall silently using the local option

You can run a silent uninstallation in combination with the with the -local option. Before invoking the uninstaller, you must set several environment variables, as show in the following series of commands.

NSHDIR='<installDir>/NSH'
export NSHDIR
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:=}${LD_LIBRARY_PATH:+:}${NSHDIR}/lib
export LD_LIBRARY_PATH
<installDir>/NSH/Uninstall -local -silent

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*