Remove a Solaris Package with pkgrm

Most software provided for a Solaris system comes in a package. Removing an installed package is easy, but any command associated with “removing” is worth your attention.


To remove the installed package SUNWtchrx from a system, run this command as root:

pkgrm SUNWtchrx

You may be asked for confirmation before proceeding. One benefit of using packages is that Solaris keeps up with what files are shared by packages. Removing a package consisting of files shared among other installed packages will not remove the shared files.

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.