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.
In the following example, the package ...