ChorusOS 5.0 Installation Guide

Chapter 3 Uninstalling on the Host

This chapter describes how to uninstall the Sun Embedded Workshop software for ChorusOS on the host workstation.

Uninstalling part or all of the Sun Embedded Workshop software depends on the method you chose to install the software. You can use one of the following methods to uninstall the Sun Embedded Workshop software:


Note -

Installing with the Solaris Web Start Wizards installer allows you to use either option. You can, therefore, uninstall using either the graphical uninstaller or the pkgrm utility.


Uninstalling Using the Sun Embedded Workshop Graphical Uninstaller

The Sun Embedded Workshop graphical uninstaller is sased on the Solaris Web Start Wizards API. To use the Solaris Web Start Wizards graphical uninstaller, you need the superuser password for your system and JDK (version 1.2 or higher). To add JDK to your path, use the following example command:


$ export PATH=/set/java/jdk1.2/bin:$PATH
Uninstalling Using the Sun Embedded Workshop Uninstaller
  1. Change to the directory where the product is installed.

    For example:


    $ cd install_dir/
    
  2. Launch the uninstaller.

    For example:


    $ sh SEW-uninstaller
    Solaris Web Start uninstaller 
    To use this uninstaller you will need to be the system's root user.
    
    Please enter this system's root user password 
    Password: superuser_password
    Do you want to uninstall SEW for UltraSPARC? y
    

    Caution - Caution -

    Be sure to enter "y" and not "yes" for the above question.


    Follow the instructions on the screen to uninstall the product.

Uninstalling With the pkgrm Utility

To remove part or all of the product from the host workstation, use the pkgrm(1M) command line utility.


Note -

To use pkgrm, you must know the superuser password for your system.


Uninstalling With the pkgrm Utility
  1. See the appropriate ChorusOS 5.0 Target Family Guide for the complete list of packages available for your host/target combination.

  2. Verify that the packages you want to remove are installed:


    $ pkginfo | egrep "(Sun Embedded Workshop | ChorusOS)"
    
  3. Become superuser and remove packages using pkgrm:


    $ su
    Password: superuser_password
    # pkgrm package_name
    

Note -

Even after all packages are removed, a few HTML files such as README.html and RELEASE.html remain in install_dir. Remove these HTML files manually.