System Administration Guide: Basic Administration

How to View Installed or Uninstalled Software Information (prodreg)

You can view information about software in the Solaris Product Registry in a terminal window by using the browse subcommand to the prodreg command.

  1. Open a terminal window.

  2. Browse the Solaris Product Registry.


    % prodreg browse
        BROWSE # +/-/. UUID                                 # NAME
        ======== ===== ==================================== = ============
        1        -     root                                 1 System 
                                                              Registry
        2         +    a01ee8dd-1dd1-11b2-a3f2-0800209a5b6b 1 Solaris 9 4/03 
                                                              System 
                                                              Software
        3         +    8f64eabf-1dd2-11b2-a3f1-0800209a5b6b 1 Unclassified
                                                              Software

    The browse subcommand to the prodreg command displays the following information about registered software.

    BROWSE #

    When you use the prodreg browse command, the Solaris Product Registry generates a browse number for each registered software component. This number can be used as an argument to either the prodreg browse command or the info subcommand to descend the hierarchy of specific registered components.


    Note –

    Browse numbers might change when you reboot or reinstall your system. Do not store browse numbers in scripts or attempt to reuse them between separate login sessions.


    +/-/.

    This field indicates if a software component has additional software component children registered in the Solaris Product Registry. The following characters are displayed in this field.

    • + indicates that the software component has additional children components that are not currently displayed.

    • - indicates that the software component has additional children components that are currently displayed.

    • . indicates that the software component does not have children components.

    UUID

    This field lists the software's unique identifier in the Solaris Product Registry. 

    #

    This field indicates the instance number of the software component on the system. If the system contains multiple instances of a software component, the Solaris Product Registry assigns a separate instance number to each instance of the component. 

    NAME

    This field lists the localized name of the software. The name of the Solaris operating environment in this sample output is the Solaris 9 4/03 release. 

  3. Browse the information for one of the software components that are listed in the Solaris Product Registry.


    % prodreg browse  -m "name"
    
    -mname

    Displays information on the software component with the name name

    If the system contains multiple instances of name software, type the following command to browse the Solaris Product Registry.


    % prodreg browse  -u name-UUID -i instance
    
    -u name-UUID

    Displays information on the name software component with the unique identifier name-UUID

    -i instance

    Displays information on name software component with the instance number instance

  4. Repeat Step 3 for each software component you want to browse.

Example—Viewing Software Information by Component Name (prodreg)

The following example shows how to view software information by referencing the component's name.


% prodreg browse
    BROWSE # +/-/.  UUID                                  #  NAME
    ======== =====  ====================================  =  ============
    1        -      root                                  1  System 
                                                             Registry
    2         +     a01ee8dd-1dd1-11b2-a3f2-0800209a5b6b  1  Solaris 9 4/03 
                                                             System 
                                                             Software
    3         +     8f64eabf-1dd2-11b2-a3f1-0800209a5b6b  1  Unclassified
                                                             Software

% prodreg browse -m "Solaris 9 4/03 System Software"

Example—Viewing Software Information by Component Browse Number (prodreg)

The following example shows how to use the -n option with the prodreg browse command to view software information by referencing the component's browse number.


% prodreg browse
    BROWSE # +/-/.  UUID                                  #  NAME
    ======== =====  ====================================  =  ============
    1        -      root                                  1  System 
                                                             Registry
    2         +     a01ee8dd-1dd1-11b2-a3f2-0800209a5b6b  1  Solaris 9 4/03 
                                                             System 
                                                             Software
    3         +     8f64eabf-1dd2-11b2-a3f1-0800209a5b6b  1  Unclassified
                                                             Software

% prodreg browse -n 2

Example—Viewing Software Information by Component UUID (prodreg)

The following example shows how to use the -u option with the prodreg browse command to view software information by referencing the component's UUID.


% prodreg browse
    BROWSE # +/-/.  UUID                                  #  NAME
    ======== =====  ====================================  =  ============
    1        -      root                                  1  System 
                                                             Registry
    2         +     a01ee8dd-1dd1-11b2-a3f2-0800209a5b6b  1  Solaris 9 4/03 
                                                             System 
                                                             Software
    3         +     8f64eabf-1dd2-11b2-a3f1-0800209a5b6b  1  Unclassified
                                                             Software

% prodreg browse -u a01ee8dd-1dd1-11b2-a3f2-0800209a5b6b