![Forrest logo](/images/logo.png)
dpkg:tldr:67247
dpkg: Remove a package.
$ dpkg -r ${package_name}
try on your machine
The command "dpkg -r ${package_name}" is used to uninstall a package from a Debian-based system using the dpkg package management tool.
Here's an explanation of each element in the command:
- "dpkg" is the command itself, which is responsible for handling packages on Debian-based systems.
- "-r" is an option flag that stands for "remove" and instructs dpkg to uninstall the specified package.
- "${package_name}" is a placeholder variable that should be replaced with the actual name of the package you want to remove. You need to provide the specific package name here.
So when you run the command by replacing "${package_name}" with the desired package name, dpkg will search for and uninstall that package from your system.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.