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.
Preparing for Uninstallation Using a Remote Display
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.
Log in to the source computer and become a superuser (root).
rlogin source-computer-name -l rootname Password: root-password
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.
Using the Graphical User Interface Uninstaller
If you are not currently superuser (root), become superuser by typing:
su Password: root-password
Go to the installation directory.
Start the uninstaller by typing:
java -cp uninstall_Sun_Studio_12ea &
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.
On the Component Selection page, deselect the components you do not want to uninstall by clicking their checkboxes to remove the check marks.
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.
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.
Using the Command-Line Uninstaller
If you are not currently superuser (root), become superuser by typing:
su Password: root-password
Go to the installation directory.
Start the uninstaller by typing:
java -cp uninstall_Sun_Studio_12ea -nodisplay &
Follow the command-line instructions to complete the uninstallation and exit the uninstaller.

Previous