LinuxCommandLibrary

xbps-remove

Remove Void Linux packages

TLDR

Remove a package

$ xbps-remove [package]
copy
Remove a package and its dependencies
$ xbps-remove -R [package]
copy
Remove orphan packages
$ xbps-remove -o
copy
Remove obsolete packages from the cache
$ xbps-remove -O
copy

SYNOPSIS

xbps-remove [options] [package...]

DESCRIPTION

xbps-remove removes packages from a Void Linux system. It can remove individual packages, recursively remove packages with their dependencies, and clean up orphaned packages.
The -o option is useful for removing packages that were installed as dependencies but are no longer needed by any installed package.

PARAMETERS

-R, --recursive

Remove package and its dependencies
-o, --remove-orphans
Remove orphaned packages (unused dependencies)
-O, --clean-cache
Remove obsolete packages from cache
-y, --yes
Assume yes to all questions
-n, --dry-run
Show what would be done
-f, --force
Force removal
-v, --verbose
Verbose output

CAVEATS

Requires root privileges. Be careful with -R as it may remove packages you want to keep. Running -o regularly helps keep the system clean. Part of the XBPS package management system for Void Linux.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community