![]() |
![]() |
| ||||||||||||||||
Example--Checking the Contents of Installed Software PackagesThe following example shows how to check the contents of a package.
If no errors occur, the system prompt is returned. Otherwise, the pkgck command reports the error. Example--Checking the File Attributes of Installed Software PackagesThe following example shows how to check the file attributes of a package.
If no errors occur, the system prompt is returned. Otherwise, the pkgck command reports the error. Example--Checking Software Packages Installed in a Spool DirectoryThe following example shows how to check a software package that was copied to a spool directory (/export/install/packages).
Note - The checks made on a spooled package are limited because not all information can be audited until a package is installed. Removing Software PackagesUse the associated tool that you used to add or install a software package to remove or uninstall a software package. For example, if you used the Web Start installer to install software, use the Web Start uninstaller to uninstall software.
|
# pkgrm pkgid ... |
pkgid identifies the name of one or more packages, separated by spaces, to be removed. If omitted, pkgrm removes all available packages.
This example shows how to remove a package.
# pkgrm SUNWctu
The following package is currently installed:
SUNWctu Netra ct usr/platform links (64-bit)
(sparc.sun4u) 11.9.0,REV=2001.07.24.15.53
Do you want to remove this package? y
## Removing installed package instance <SUNWctu>
## Verifying package dependencies.
## Processing package information.
## Removing pathnames in class <none>
.
.
.
|
This example shows how to remove a spooled package.
# pkgrm -s /export/pkg SUNWaudh
The following package is currently spooled:
SUNWaudh Audio Header Files
(sparc) 11.10.0,REV=2003.08.08.00.03
Do you want to remove this package? y
Removing spooled package instance <SUNWaudh>
|
The following task map describes the software management tasks that you can do with Admintool.
Task | Description | For Instructions |
|---|---|---|
Add software packages with Admintool | You can view or add software packages. | |
Remove software packages with Admintool | You can view or remove software packages. |
The Solaris operating system includes Admintool, which is a graphical user interface for performing several administration tasks, including adding and removing software packages. Specifically, you can use Admintool to do the following:
Add software packages to a local system
Remove software packages from a local system
View software already installed on the local system
Customize software packages to be installed
Specify an alternate installation directory for a software package
How to Add Software Packages With AdmintoolBecome superuser.
Unless you are a member of the sysadmin group (group 14), you must become superuser or assume an equivalent role to add or remove software packages with Admintool.
Load a Solaris 9 Software CD or DVD into the drive.
Volume Manager automatically mounts the CD.
Start Admintool.
# admintool & |
The Users window is displayed.
Choose Software from the Browse menu.
The Software window is displayed.
Choose Add from the Edit menu.
The Set Source Media window might appear. If so, specify the path to the installation media and click OK. The default path is a mounted Solaris CD.
The Add Software window is displayed.

Select the software you want to install on the local system.
In the Software portion of the window, click the check boxes that correspond to the software you want to install.
Click Add.
A Command Tool window appears for each package being installed, displaying the installation output.
The Software window is refreshed to display the packages just added.
Previous Contents Index Next ![]() |