You can view information about software in the Oracle Solaris Product Registry in a terminal window by using the browse subcommand to the prodreg command.
Open a terminal window.
Browse the Oracle Solaris Product Registry.
% prodreg browse BROWSE # +/-/. UUID # NAME ======== ===== ==================================== = ============ 1 - root 1 System Registry 2 + a01ee8dd-1dd1-11b2-a3f2-0800209a5b6b 1 Solaris 10 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.
When you use the prodreg browse command, the Oracle 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.
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 Oracle 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.
This field lists the software's unique identifier in the Oracle 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 Oracle Solaris Product Registry assigns a separate instance number to each instance of the component.
This field lists the localized name of the software. The name of the Oracle Solaris OS in this sample output is the Oracle Solaris 10 system software.
Browse the information for one of the software components that are listed in the Oracle Solaris Product Registry.
% prodreg browse -m "name" |
The -m “name” command 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 Oracle Solaris Product Registry:
% prodreg browse -u name-UUID -i instance -n number |
Displays information on the name software component with the unique identifier name-UUID.
Displays information on the name software component with the instance number instance.
Displays software information by referencing the component's browse number number.
Repeat Step 3 and Step 4 for each software component that you want to browse.
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 10 System Software 3 + 8f64eabf-1dd2-11b2-a3f1-0800209a5b6b 1 Unclassified Software % prodreg browse -m "Solaris 10 System Software" |
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 10 System Software 3 + 8f64eabf-1dd2-11b2-a3f1-0800209a5b6b 1 Unclassified Software % prodreg browse -n 2 |
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. The UUID is the software's unique identifier in the Oracle Solaris Product Registry.
% prodreg browse BROWSE # +/-/. UUID # NAME ======== ===== ==================================== = ============ 1 - root 1 System Registry 2 + a01ee8dd-1dd1-11b2-a3f2-0800209a5b6b 1 Solaris 10 System Software 3 + 8f64eabf-1dd2-11b2-a3f1-0800209a5b6b 1 Unclassified Software % prodreg browse -u a01ee8dd-1dd1-11b2-a3f2-0800209a5b6b |