Linux command
xbps-remove 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Remove
xbps-remove [package]
Remove
xbps-remove -R [package]
Remove
xbps-remove -o
Remove
xbps-remove -O
说明
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.
参数
- -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
FAQ
What is the xbps-remove command used for?
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.
How do I run a basic xbps-remove example?
Run `xbps-remove [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -R, --recursive do in xbps-remove?
Remove package and its dependencies