NAME

gpt-uninstall - Uninstall any GPT package.


SYNOPSIS

gpt-uninstall [--force --help -name ] pkgname-flavor-pkgtype


DESCRIPTION

gpt-uninstall will uninstall a package from the system.


OPTIONS

-force
This will force actions to take place.

-native
Use native package manager (Only works with rpm).

pkgname-flavor-pkgtype
Expression describing the packages that should be removed.

-help
Print a brief help message and exits.

-man
Prints the manual page and exits.

-version
Prints the version of GPT and exits.


EXAMPLES

  gpt-uninstall -name=foo

removes all flavors and package types with the name ``foo''.

 gpt-uninstall foo

Also removes all flavors and package types with the name ``foo''.

  gpt-uninstall 'foo-*-*'

A third way of typing the same uninstall. Note the single quotes.

  gpt-uninstall '*-noflavor-*'

Remove all of the packages with a 'noflavor' build flavor.

  gpt-uninstall '*-*-*'

Remove all packages. Note that files generated by gpt-postinstall will not be removed


BUGS

Currently the flavor check that gpt-uninstall uses only works if the flavor is installed by gpt-build. And so for example:

 gpt-uninstall foo-gcc32-*

will not work. The work around is to uninstall the packages individually using something like:

 gpt-uninstall -name=foo -flavor=gcc32 -pkgtype=pgm

Or use a wild card for the flavor to uninstall all flavors of the package.

 gpt-uninstall foo-*-*


SEE ALSO

gpt-install(1) gpt-query(1) gpt-verify(1) gpt-postinstall(1)


AUTHOR

Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu>