This chapter includes information on the following:
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.
If you find an uninstaller command in the bin directory in the installation directory (for example, in /opt/SUNWspro/bin), follow the uninstallation instructions in this chapter. Otherwise, follow the installation instructions in Sun Studio 12 Quick Installation.
You can display an uninstaller either locally or remotely while you are uninstalling Sun Studio 12 software.
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:n.n |
If you use the Bourne shell, type:
DISPLAY=display-computer-name:n.n export DISPLAY |
If you use the Korn shell, type:
export DISPLAY=display-computer-name:n.n |
Replace display-computer-name with the output of the /usr/bin/hostname entered on the display computer.
You can uninstall any or all of the installed components of the Sun Studio 12 software using the graphical user interface uninstaller.
If you are not currently superuser (root), become superuser by typing:
su Password: root-password |
Go to the bin directory in the installation directory; for example, /opt/SUNWspro/bin.
Start the uninstaller by typing:
./uninstaller & |
On the Select Type of Uninstall page of the uninstaller, select Full if you want to uninstall all of the Sun Studio 12 software you have installed, or Partial if you want to uninstall only certain components or subcomponents.
If you selected a partial uninstallation, then on the Select Components page, click the checkbox for any component you do not want to uninstall. If you want to uninstall only selected subcomponents of the Sun Studio 12 Compilers and Tools component, click the + icon to expand the component, and click the checkbox for any subcomponent you do not want to uninstall.
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.
You can uninstall any or all of the installed components of the Sun Studio 12 software using the command-line uninstaller.
If you are not currently superuser (root), become superuser by typing:
su Password: root-password |
Go to the bin directory in the installation directory, for example, /opt/SUNWspro/bin.
Start the interactive command-line uninstaller by typing:
./uninstaller -nodisplay |
You can also start the command-line installer as follows to uninstall the software silently:
./uninstaller -nodisplay -noconsole |
Select Full if you want to uninstall all of the Sun Studio 12 software you have installed, or Partial if you want to uninstall only certain components or subcomponents.
If you selected partial installation, deselect any software component or subcomponent you do not want to uninstall.
Follow the uninstaller instructions to complete the uninstallation.
NetBeans IDE 5.5.1 update 1 and NetBeans C/C++ Development Pack 5.5.1 update 1 are not uninstalled by the Sun Studio 12 uninstaller. If you wish to uninstall the NetBeans 5.5.1 update 1 software, use the NetBeans uninstallers as follows:
If you are not currently superuser (root), become superuser by typing:
su Password: root-password |
Go to the cnd1/_uninst directory in the NetBeans 5.5.1 update 1 installation directory; for example, /opt/netbeans-5.5.1/cnd1/_uninst.
Start the uninstaller by typing:
./uninstaller & |
Follow the instructions in the uninstaller to uninstall NetBeans C/C++ Development Pack 5.5.1 update 1.
If you are not currently superuser (root), become superuser by typing:
su Password: root-password |
Go to the _uninst directory in the NetBeans 5.5.1 update 1 installation directory; for example, /opt/netbeans-5.5.1/_uninst.
Start the uninstaller by typing:
./uninstaller & |
Follow the instructions in the uninstaller to uninstall NetBeans IDE 5.5.1 update 1.
When you installed the Sun Studio 12 software, you had the option of copying the prerequisite software to a server for use when running the prepare_system command on client systems that would run the Sun Studio 12 software. If you specified this option, you copied the prerequisite software to /installation_directory/prepare_system_prerequisites; for example, /opt/prepare_system_prerequisites. You can remove the prerequisite software repository by typing:
rm -fR /installation_directory/prepare_system_prerequisites |