mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-10-31 19:48:18 +08:00
25 lines
677 B
Markdown
25 lines
677 B
Markdown
# removepkg
|
|
|
|
> Remove a specified Slackware package.
|
|
> More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-PACKAGE-UTILITIES-REMOVEPKG>.
|
|
|
|
- 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}}`
|