| DELPKG(8) | System Manager's Manual | DELPKG(8) |
delpkg — remove an
installed package
delpkg |
[-f] [-r
root] package |
delpkg |
-h | -v |
delpkg removes the installed package named
package. It must be run as root.
It refuses to remove a package that owns the modules of the running kernel, lib/modules/release, or the last package owning anything under lib/modules/, since that would leave no bootable kernel. The first check is only made when the root is /.
The removal runs these steps, in order:
sv exit if it is
running.The options are as follows:
The delpkg utility exits 0 on
success, and >0 if an error occurs. It fails if the files were
removed but the database could not be written.
| September 27, 2026 | mkpkg 1.6.0 |