Table 3-1. rpm -e Command Syntax
| rpm -e (or --erase) options pkg1 … pkgN | ||
| Parameters | ||
| pkg1 … pkgN | One or more installed packages | |
| Erase-specific Options | Page | |
| --test | Perform erase tests only | the section called --test — Go Through the Process of Erasing the Package, But Do Not Erase It |
| --noscripts | Do not execute pre- and post-uninstall scripts | the section called --noscripts — Do Not Execute Pre- and Post-uninstall Scripts |
| --nodeps | Do not check dependencies | the section called --nodeps: Do Not Check Dependencies Before Erasing Package |
| General Options | Page | |
| -vv | Display debugging information | the section called Getting More Information With -vv |
| --root <path> | Set alternate root to <path> | the section called --root <path> — Use <path> As the Root |
| --rcfile <rcfile> | Set alternate rpmrc file to <rcfile> | the section called --rcfile <rcfile> — Read <rcfile> For RPM Defaults |
| --dbpath <path> | Use <path> to find the RPM database | the section called --dbpath <path>: Use <path> To Find RPM Database |
The rpm -e command (--erase
It executes a pre-uninstall script (if one exists).
It executes a post-uninstall script (if one exists).
That's quite a bit of activity for a single command. No wonder RPM can be such a time-saver!
| Главная |