This chapter describes how to remove software products that are installed on your system.
Some software packages have interpackage dependencies and removing them will affect your ability to use the packages that remain. For a list of products and their component packages, see Table A-3.
There are two ways to remove Sun WorkShop development tools:
The workshop_uninstall script to remove all packages installed in a particular workshop_install session
The pkgrm command to remove individual packages or packages installed using the clustadd command-line executable
The workshop_uninstall script removes packages that were installed using the workshop_install GUI. If you installed packages using the clustadd command-line executable, you must use the pkgrm command to remove your software.
There is a workshop_uninstall script available to remove all packages installed during a particular workshop_install session. The workshop_uninstall script removes the right packages in the right order.
Use the pkgrm command if you want to remove individual packages.
To run the workshop_uninstall script, follow these steps:
Become a superuser (root) by typing:
% su
Password: root-password
Look at the /usr/tmp/workshop_install_log.datestamp file to determine which workshop_install session to remove.
datestamp refers to the date and time when the workshop_install command was run. When you find the datestamp of the workshop_install session you want to remove, use that as the datestamp in Step 3.
Run the workshop_uninstall script by typing the following:
# /usr/tmp/workshop_uninstall-datestamp.sh
To display the workshop_uninstall-datestamp.sh files, type the following:
# ls /usr/tmp/workshop_uninstall*.sh
The workshop_uninstall script takes no parameters.
After you have removed the software, consider removing the workshop_uninstall script so it will not clutter the /usr/tmp directory if you do other installations in the future.
To remove individual packages, follow these steps:
Become a superuser by typing:
% su
Password: root-password
Remove a package by typing:
# pkgrm package-name
For package-name information, see Table A-3 and Table A-4 in Appendix A, Sun WorkShop Products and Packages. See the pkgrm man page for more information about the pkgrm command.