gpt-uninstall (8) Linux Manual Page
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(8) gpt-query(8) gpt-verify(8) gpt-postinstall(8)
Author
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu>
