101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 31


When removing a package, which of the following dpkg options will completely remove the files including configuration files?

Show Answer
Correct Answer: C

The option --purge is used with dpkg to completely remove a package along with its configuration files. This ensures that no remnants of the package remain on the system, including any configuration files it may have created or modified.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOption: C
Oct 21, 2023

When removing a package with `dpkg`, the option that will completely remove the files, including configuration files, is: C. `--purge` To remove a package along with its configuration files, you would use the `--purge` option like this: ``` dpkg --purge package_name ``` This option ensures that not only the package is removed, but also its associated configuration files.