Sun Studio 12 Update 1 Installation Guide

ProcedureManually Fixing a Failed Installation or Uninstallation on Linux Platforms

  1. Become superuser by typing:


    su
    Password: root-password
    
  2. Find all of the Sun Studio packages by typing:


    rpm -q -a | grep sun
    
  3. Remove each Sun Studio 12 Update 1 rpm package by typing:


    rpm -e package-name
    

    Sun Studio 12 Update 1 rpm packages have the suffix 12.1–1, for example, sun-cpl-12.1–1. Be careful not to remove packages from other Sun Studio releases, which have different suffixes.

  4. Remove the /root/.nbi directory by typing:


    rm -r /.nbi
    
  5. If you installed the Sun Studio 12 Update 1 IDE component, remove the NetBeans IDE 6.5.1 by going to the installation directory (by default, /opt/sun/sunstudio12.1) and typing:


    rm -r netbeans