Forrest logo
back to the xbps-remove tool

xbps:tldr:c6418

xbps: Remove obsolete packages from the cache.
$ xbps-remove --clean-cache
try on your machine

The command "xbps-remove --clean-cache" is used in the XBPS package manager in Void Linux.

The "xbps-remove" command is used to remove packages from the system. It accepts package names or patterns as arguments and removes the matching packages from the system.

The "--clean-cache" option is used to clean the package cache. When you install or update packages, they are stored in the package cache. This cache can consume disk space over time, especially if you frequently install or update packages. The "--clean-cache" option removes all the cached packages that are no longer installed on the system, freeing up disk space.

In summary, the "xbps-remove --clean-cache" command removes packages from the system and cleans the package cache, freeing up disk space by removing cached packages that are no longer needed.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the xbps-remove tool