HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

removepkg — Remove a specified Slackware package. More information: <https://www.slackbook.org/html/book.html#PA

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandremoveclislackwareremovepkgpackagespecifiedmore
linux

Problem

How to use the removepkg command: Remove a specified Slackware package. More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-PACKAGE-UTILITIES-REMOVEPKG>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/removepkg

Revisions (0)

No revisions yet.