
The -r option specifies that you want to remove the package.

The sudo dpkg -r command is used to remove a package from a Debian-based Linux system using dpkg, the Debian package management tool. deb Installed With dpkg Using dpkg -rĪs mentioned above, you can use the -r or -remove options to uninstall packages from your Linux device.

-update-merge: combines information about available packages in its repositories with previously available information.Then, it downloads all the updated packages to your local repository. -update-avail: checks the online repositories.It removes every file belonging to the specific package, including the configuration files. -p OR -purge: this is the complete uninstallation option.

-r OR -R: removes every file belonging to the specific package except the configuration files, also known as the uninstallation process.
