Installing, managing, and removing software

Removing packages and sets (pkgrm)

Use the pkgrm(1M) command to remove both fully and partially installed packages or sets from the system. pkgrm attempts to return the system to the same state in which it was running before the package or set was installed.

To remove a single software package or set from your system, enter:

pkgrm pkgname

pkgname is the name of the package you want to remove.

If pkgname is the name of a SIP, all packages that are members of the set, and the SIP itself, are removed in reverse order from the order in which they were installed.

To remove multiple software packages or SIPs from your system, you might enter:

pkgrm pkgA pkgB pkgC.2

Separate each package name with whitespace.

NOTE: All instances of a package can be requested by adding an asterisk (*) to the end of the package abbreviation. If you use the asterisk in your command line, enclose the command line in single quotes. For example:

'pkgrm pkgC*'

To remove a package in non-interactive mode, add the -n option. If the package cannot be removed in this mode (because some interaction is required), pkgrm(1M) exits and the removal fails.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004