O'Reilly logo

Solaris™ 8 Advanced System Administrator's Guide, Third Edition by Janice Winsor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Removing Packages

In previous releases of SunOS, you could remove unbundled software packages with the rm(1) command, which simply removed the files associated with a file system. Chances are that you would not know the names of all the files associated with a package. The Solaris packaging system, on the other hand, keeps track of all the files, directories, and their permissions for any application package. Therefore, you should always use the provided package commands, especially when removing a package. The pkgrm command makes administration easier by removing a complete unbundled package with a single command.

Use the following syntax to remove a package in interactive mode.

/usr/sbin/pkgrm pkgid
					

In the following example, the package ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required