remove_packages
Uninstall packages on SUSE Linux individually or in batches, including dependency cleanup and forced removal.
Instructions
[LIFECYCLE] Unified tool for removing packages (single or multiple). Accepts either a single package name or a list of packages. Supports removal with dependencies and forced removal. Only works on SUSE Linux. Requires sudo access. Examples: packages='firefox', remove_dependencies=true → removes Firefox with its dependencies; packages=['pkg1', 'pkg2', 'pkg3'] → batch removal of multiple packages; packages='lib', force=true → force removal ignoring dependencies (dangerous!).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force removal ignoring dependencies. Use with caution! Default: false | |
| packages | Yes | Package name (string) or list of package names (array) to remove | |
| remove_dependencies | No | Remove packages and their unneeded dependencies. Default: false |