2025-12-16 10:20:31 -07:00
|
|
|
# removepkg
|
|
|
|
|
|
|
|
|
|
> Remove a specified Slackware package.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-PACKAGE-UTILITIES-REMOVEPKG>.
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Remove a package:
|
|
|
|
|
|
|
|
|
|
`sudo removepkg {{package_name}}`
|
|
|
|
|
|
|
|
|
|
- Generate a report of a simulated removal to `stdout`:
|
|
|
|
|
|
|
|
|
|
`removepkg -warn {{package_name}}`
|
|
|
|
|
|
|
|
|
|
- Reconstruct the package subtree in `/tmp/preserved_packages/package_name` and remove the package:
|
|
|
|
|
|
|
|
|
|
`sudo removepkg -preserve {{package_name}}`
|
|
|
|
|
|
|
|
|
|
- Copy package under `/tmp/preserved_packages/package_name` without removing:
|
|
|
|
|
|
|
|
|
|
`removepkg -copy {{package_name}}`
|
|
|
|
|
|
|
|
|
|
- Save temporary files created by `removepkg` for debugging:
|
|
|
|
|
|
|
|
|
|
`sudo removepkg -keep {{package_name}}`
|