Sun WorkShop Quick Install

Chapter 7 Removing Software

This chapter describes how to remove software products that are installed on your system.


Note -

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:

Using the workshop_uninstall Script

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.


Note -

Use the pkgrm command if you want to remove individual packages.


To run the workshop_uninstall script, follow these steps:

  1. Become a superuser (root) by typing:

    % su

    Password: root-password

  2. 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.

  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.

Using the pkgrm Command

To remove individual packages, follow these steps:

  1. Become a superuser by typing:

    % su

    Password: root-password

  2. 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.