mpm remove - Remove a package.
mpm remove [OPTIONS] PACKAGES_SPECS...
Remove one or more packages.
Packages recognized by multiple managers will be remove with each
of them. You can fine-tune this behavior with more precise package
specifiers (like purl) and/or tighter selection of managers.
Packages unrecognized by any selected manager will be skipped.
With `--orphans`, each package is removed together with the
dependencies it alone pulled in, mapped to the manager's native cascade verb
(``apt remove --auto-remove`, `pacman --remove --recursive`, `dnf
autoremove``, ...). Managers with no such verb remove the package only.
- PACKAGES_SPECS...
- A mix of plain <package_id>, simple <package_id@version>
specifiers or full <pkg:npm/left-pad> purls.
- --orphans
- Also remove the dependencies the package pulled in that no other package
needs, using each manager's native cascade verb. Managers without one
remove the package only.
- --help /
-h
- Show this message and exit.
- REMOVE_ORPHANS
- Also remove the dependencies the package pulled in that no other package
needs, using each manager's native cascade verb. Managers without one
remove the package only.
- REMOVE_HELP
- Show this message and exit.
- 0
- Success.
- 1
- A runtime error, or an aborted prompt (Ctrl-C, a declined
confirmation).
- 2
- A usage error: unknown option, invalid value, missing operand, or an
unparsable configuration file.