Sun Studio 12 Quick Installation (English, Japanese, Simplified Chinese)

Updating NetBeans C/C++ Development Pack and Installing Product Patches

ProcedureUsing the Graphical User Interface Installer

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


    su
    Password: root-password
    
  2. In the directory that contains the installer, start the installer by typing:


    ./installer &
    
  3. On the Software License Agreement page, click Yes (Accept License).

  4. On the Locale Selection page, click Next.

  5. On the Select Components page, deselect any selected components that you do not want to install and click Next.

  6. On the Select Options page:

    1. If you are updating an installation on a single-user system, click Next.

    2. If you are updating an installation on a server, click the Advanced Tab and select the Copy system prerequisites checkbox.

  7. On the Ready to Install page, click Install Now.

  8. On the Post-Installation Setup page, click Setup Now.

  9. If you updated an installation on a server, then on each client system:

    1. Mount the directory on the server in which you installed the Sun Studio 12 software.


      mount server:filesystem installation_directory
      
    2. Run the system preparation tool on the server to check the client system for the prerequisite software and again, if necessary, to install any missing software. If the client system has NetBeans C/C++ Development Pack 5.5.1 installed, netbeans is reported as missing. Specify netbeans with the prepare_system -s command to upgrade to the required NetBeans C/C++ Development Pack 5.5.1 update 1.


      prepare_system -C
      prepare_system -s missing_software_name,missing_software_name,...
      

ProcedureUsing the Command Line Installer

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


    su
    Password: root-password
    
  2. In the directory that contains the installer, start the installer by typing:


    ./installer -nodisplay
    
  3. Read the Software License Agreement and accept it by typing yes.

  4. For locale selection, type 0.

  5. For component selection, deselect any selected components that you do not want to install.

  6. If the installer reports that any prerequisite software is missing, type 2 for Update All Prerequisites.

  7. If you are updating an installation on a single-user system, skip advanced options. If you are updating an installation on a server, continue to advanced options and select the Copy system prerequisites.

  8. If you updated an installation on a server, then on each client system:

    1. Mount the directory on the server in which you installed the Sun Studio 12 software.


      mount server:filesystem installation_directory
      
    2. Run the system preparation tool on the server to check the client system for the prerequisite software and again, if necessary, to install any missing software. If the client system has NetBeans C/C++ Development Pack 5.5.1 installed, netbeans is reported as missing. Specify netbeans with the prepare_system -s command to upgrade to the required NetBeans C/C++ Development Pack 5.5.1 update 1.


      prepare_system -C
      prepare_system -s missing_software_name,missing_software_name,...