![]() |
![]() |
| |||||||||||||||||||||||||||||||||||||||||||||
|
# prodreg |
The Solaris Product Registry window is displayed.
To view the list of installed and registered software, click the turner control.
Select directories until you find the name of the software that you want to uninstall.
Read the software attributes to make sure that this software is the software that you want to uninstall.
Click the Uninstall software-product-name button at the bottom of the Solaris Product Registry window.
The software product you selected is uninstalled.
The following task map describes the software management tasks that you can do with the Solaris Product Registry command-line interface.
Task | Description | For Instructions |
|---|---|---|
View installed or uninstalled software with prodreg | You can view software information with the browse subcommand. | How to View Installed or Uninstalled Software Information (prodreg) |
View software attributes with prodreg | You can view specific software attributes with the info subcommand. | |
Check dependencies between software components with prodreg | You can view the components that depend on a specific software component with the info subcommand. | How to Check Dependencies Between Software Components (prodreg) |
Identify damaged software products with prodreg | If you remove installed software files or packages without using the appropriate uninstaller, you can damage the software on your system. | |
Uninstall software with prodreg | You can remove software from your system with the uninstall subcommand. | |
Uninstall damaged software with prodreg | Uninstalling a damaged software component might fail if the uninstaller program for the software component has been removed from the system. | |
Reinstall damaged software components with prodreg | If other software depends on a damaged software component, you might want to reinstall the damaged component, rather than uninstall the component and the other dependent software. |
The prodreg command is the command-line interface (CLI) to the Solaris Product Registry. The prodreg command supports several subcommands that enable you to manage the software on your system.
You can use the prodreg command in a terminal window to perform the following tasks.
View a list of installed and registered software and software attributes
View all Solaris system products that you installed in their localized version in the System Software Localizations directory
Identify damaged software
Remove software entries from the Solaris Product Registry
Uninstall software and individual software packages
For more information on how to manage the Solaris Product Registry by using the command-line interface, see the man page prodreg(1M).
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.
Open a terminal window.
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.
|
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 system in this sample output is the Solaris 9 4/03 release. |
Browse the information for one of the software components that are listed in the Solaris Product Registry.
% prodreg browse -m "name" |
| -m "name" | 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 |
Repeat Step 3 for each software component 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 9 4/03
System
Software
3 + 8f64eabf-1dd2-11b2-a3f1-0800209a5b6b 1 Unclassified
Software
% prodreg browse -m "Solaris 9 4/03 System Software"
|
Previous Contents Index Next ![]() |