sun.com docs.sun.com My Sun Worldwide Sites

Previous Previous     Contents     
Chapter 3

Uninstalling the Sun Studio 12 Software

This chapter includes information on the following:

  • Uninstalling When Previous Releases of Sun Studio Software Are Installed

  • Choosing Local Display or Remote Display of the Uninstaller

  • Using a Graphical User Interface Uninstaller

  • Using a Command-Line Uninstaller

Uninstalling When Previous Releases of Sun Studio Software Are Installed

If you installed the Sun Studio 12 software on a system that has previous Sun Studio software installations, then only the Sun Studio 12 software is removed when you use the uninstaller.

Choosing Local Display or Remote Display of the Uninstaller

You can display an uninstaller either locally or remotely while you are uninstalling Sun Studio 12 software.

ProcedurePreparing for Uninstallation Using a Remote Display

  1. On the display computer, enable client access to the X server by typing the following on the command line:

    xhost + source-computer-name

    Replace source-computer-name with the output of the /usr/bin/hostname command entered on the source computer, which is the computer that contains the product CD-ROM or downloaded files.

  2. Log in to the source computer and become a superuser (root).

    rlogin source-computer-name -l rootname
    Password: root-password

  3. On the source computer, set the display to the monitor that is attached to the display computer.

    If you use the C shell, type:

    setenv DISPLAY display-computer-name:0.0

    If you use the Bourne shell, type:

    DISPLAY=display-computer-name:0.0
    export DISPLAY

    If you use the Korn shell, type:

    export DISPLAY=display-computer-name:0.0

    Replace display-computer-name with the output of the /usr/bin/hostname entered on the display computer.

Using the Graphical User Interface Uninstaller

You can uninstall any or all of the installed components of the Sun Studio 12 software using the graphical user interface uninstaller.

ProcedureUsing the Graphical User Interface Uninstaller

  1. If you are not currently superuser (root), become superuser by typing:

    su
    Password: root-password

  2. Go to the installation directory.

  3. Start the uninstaller by typing:

    java -cp uninstall_Sun_Studio_12ea &

  4. On the Select Type of Uninstall page of the uninstaller, select the type of uninstallation you want:

    If you want to uninstall all of the components of the product, select Full. Click Next and proceed to Step 8.

    If you want to uninstall only certain components of the product, select Partial. Click Next and proceed to Step 5.

  5. On the Component Selection page, deselect the components you do not want to uninstall by clicking their checkboxes to remove the check marks.

  6. On the Ready to Uninstall page, click Uninstall Now.

    The Uninstalling page appears with a progress indicator. When uninstallation is complete, the Uninstallation Summary page appears.

  7. Click Exit to exit the uninstaller

Using the Command-Line Uninstaller

You can uninstall any or all of the installed components of the Sun Studio 12 software using the command-line uninstaller.

ProcedureUsing the Command-Line Uninstaller

  1. If you are not currently superuser (root), become superuser by typing:

    su
    Password: root-password

  2. Go to the installation directory.

  3. Start the uninstaller by typing:

    java -cp uninstall_Sun_Studio_12ea -nodisplay &

  4. Follow the command-line instructions to complete the uninstallation and exit the uninstaller.

Previous Previous     Contents     
Company Info Contact Terms of Use Privacy Copyright 1994-2007 Sun Microsystems, Inc.