gpt-uninstall - Uninstall any GPT package.
gpt-uninstall [--force --help -name ] pkgname-flavor-pkgtype
gpt-uninstall will uninstall a package from the system.
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
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-*-*
gpt-install(1) gpt-query(1) gpt-verify(1) gpt-postinstall(1)
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu>