Application Packaging Developer's Guide

How to Remove a Package

  1. Log in to the system as superuser.

  2. Remove an installed package.

    # pkgrm pkg-abbrev... 


    Is the name of one or more packages (separated by spaces). If omitted, pkgrm removes all available packages.

  3. Verify that the package has successfully been removed, use the pkginfo command.

    $ pkginfo | egrep pkg-abbrev

    If pkg-abbrev is installed, the pkginfo command returns a line of information about it. Otherwise, pkginfo returns the system prompt.