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. A
manager keeping no inventory, like sheldon, recognizes none, so when it is
the only one selected it is handed every package as is.
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.
- --columns
COLUMNS
- Restrict and reorder table columns, SQL SELECT-style. Comma-separated list
of column IDs. Default: all columns in canonical order.
[values: package_id, package_name, manager_id, from_version, to_version,
status, released, eligible]
- --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_COLUMNS
- Restrict and reorder table columns, SQL SELECT-style. Comma-separated list
of column IDs. Default: all columns in canonical order.
- REMOVE__CLICK_DEFAULT_HELP
- Show this message and exit.
- 0
- Success.
- 1
- A runtime error, an aborted prompt (Ctrl-D), or a declined
confirmation.
- 2
- A usage error: unknown option, invalid value, missing operand, or an
unparsable configuration file.
- 130
- Interrupted with Ctrl-C: the process ends by SIGINT, reported as 130.
Remove a package from every manager carrying it
Remove it and the dependencies it pulled in
mpm remove \-\-orphans jq