---
name: "dpkg-remove"
section: "1"
platform: "linux"
package: "dlocate"
version: "0.96.1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/dpkg-remove"
---

# dpkg-remove(1)

program to flag for removal a package or packages

## NAME

dpkg-remove - program to flag for removal a package or packages

## SYNOPSIS

**dpkg-remove** \[*PACKAGE*...\]

## DESCRIPTION

**dpkg-remove** marks package(s) to be held.

It achieves this by running \`dpkg --set-selections' and piping in the package name(s) followed by \`deinstall'.

NOTE: this program does not install, remove, purge any package. it ONLY sets the status of the package. any actual removal or purging is done the next time dselect, apt-get, aptitude, etc are run.

## SEE ALSO

[**dpkg**(1)](/dpkg/1.md), [**dpkg-hold**(1)](/dpkg-hold/1.md), [**dpkg-unhold**(1)](/dpkg-unhold/1.md), [**dpkg-purge**(1)](/dpkg-purge/1.md)

## AUTHOR

dpkg-remove was written Craig Sanders \<cas@taz.net.au\>. dpkg-remove is Free Software placed in the public domain.
