Forrest logo
tool overview
On this page you find all important commands for the CLI tool xbps-remove. If the command you are looking for is missing please ask our AI.

xbps-remove

The command line tool "xbps-remove" is a utility used in the XBPS package manager system, specifically for the XBPS package format used in Void Linux. It is designed to remove packages from the system. When executed, it prompts the user for confirmation before permanently removing the specified package(s) and all of their dependencies.

xbps-remove offers various options and flags to enable different functionality, such as "--purge" to remove the package and all of its configuration files, "--force" to ignore warnings and forcibly remove the package, and "--recursive" to remove the package and all of its reverse dependencies.

It presents a summary of the affected packages before the confirmation prompt, including the dependencies that are scheduled for removal, allowing users to determine the implications of the removal operation.

The "xbps-remove" tool follows the dependency resolution provided by the XBPS package manager, ensuring that any package which relies on the packages being removed is also properly adjusted or removed to maintain system consistency.

Overall, "xbps-remove" serves as an essential tool to manage packages and dependencies efficiently in the XBPS package management system and facilitate package removal operations in Void Linux.

List of commands for xbps-remove:

  • xbps:tldr:0d023 xbps: Remove packages that were installed as dependencies and aren't currently needed.
    $ xbps-remove --remove-orphans
    try on your machine
    explain this command
  • xbps:tldr:c6418 xbps: Remove obsolete packages from the cache.
    $ xbps-remove --clean-cache
    try on your machine
    explain this command
  • xbps:tldr:c7b19 xbps: Remove a package and all of its dependencies recursively that are not required by other packages.
    $ xbps-remove --recursive ${package_name}
    try on your machine
    explain this command
  • xbps:tldr:dd4b4 xbps: Remove a package, leaving all of its dependencies installed.
    $ xbps-remove ${package_name}
    try on your machine
    explain this command
tool overview