Sun Studio 12 Update 1 Installation Guide

Chapter 3 Uninstalling the Sun Studio 12 Update 1 Software

This chapter includes information about the following:

Uninstalling When Previous Releases of Sun Studio Software Are Installed

I f you installed the Sun Studio 12 Update 1 software on a system that has previous Sun Studio software installations, then only the Sun Studio 12 Update 1 is removed when you run the uninstaller. The uninstaller removes all of the installed product components.

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 Update 1 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: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.

Uninstalling the Software

You can uninstall all of the installed components of the Sun Studio 12 Update 1 software using the graphical user interface uninstaller or the non-GUI 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, for example, /opt/sunstudio12.1.

  3. Start the GUI uninstaller by typing:


    ./uninstall.sh &
    
  4. On the Summary page, click Uninstall to start the uninstallation.

  5. When the uninstallation is complete, the Setup Complete page is displayed. Click Finish to exit the uninstaller.

ProcedureUsing the Non-GUI Uninstaller

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


    su
    Password: root-password
    
  2. Go to the installation directory, for example, /opt/sunstudio12.1.

  3. Start the non-GUI uninstaller by typing:


    ./uninstall.sh --non-interactive
    
  4. The uninstaller runs silently and returns your prompt when uninstallation is complete.