mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-06 15:45:21 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/removepkg
Normal file
29
tldr/linux/removepkg
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# removepkg
|
||||
|
||||
> Remove a specified Slackware package.
|
||||
> More information: <http://www.slackware.com/config/packages.php>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user