Uninstalling products on UNIX silently
To create a control file to uninstall products
- Open a command prompt.
- Change to the BMC Products Installation directory/Uninstall directory.
- Start the uninstallation utility by entering the following command:
./uninstall.sh -createcontrolfile - On the Welcome page, click Next.
- Enter the name of the directory from which you want to uninstall products. Click Next.
- Select the products that you want to uninstall. Click Next.
- If you selected to uninstall all products, optionally select to uninstall the uninstallation utility.
- Proceed through the uninstallation, entering any requested information.
- On the Review Settings for Control File page, click Create Control File.
- Verify that the process was successful and optionally view the control file.
- Click Finish to exit the installation utility.
By default, the new control file is stored in $HOME /BMCINSTALL in a subdirectory with the naming convention computername-PID-timestamp.
After the control file is created, you can rename it and copy it to another location or to other computers, then use the following procedure to uninstall products.
To uninstall products by using the new control file
- Open a command prompt.
- Change to the BMC Products Installation directory/Uninstall/Install/instbin directory.
- Enter the following command:
./thorinst.sh -uninstall <path to control file> -log <path to log file> -output <path to output log file>
The option path to control file is the path to and name of the control file that you created in the previous procedure. The options -log and -output let you specify a location for a standard log file and an output log file. The standard log file contains all installation status information, and the output log file contains messages on the progress of the installation that are normally sent to standard output. The path to log file and path to output log file variables can be any valid path and file name (with a .txt extension) that you specify.
To uninstall products by using a flag
You can also uninstall silently by using the -silent flag and if you wish to uninstall everything select "all"
For example, ./uninstall.sh -silent all
Uninstalling a specific product, ./uninstall -silent pkiskm
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*