When removing a package on a system using dpkg package management, which dpkg option ensures configuration files are removed as well?
When removing a package on a system using dpkg package management, which dpkg option ensures configuration files are removed as well?
To remove a package along with its configuration files using dpkg, the correct option is --purge. The --remove option only removes the package files but leaves the configuration files behind, whereas --purge ensures that all related files, including configuration files, are removed from the system.
Correct. -r will remove package but keep config files. -p --purge will remove all including config files.
purge. very easy