Debian package management · Question 4 of 12

How does dpkg -P differ from dpkg -r?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • D -P removes the package together with its configuration files

Explanation

-r (remove) leaves configuration files under /etc in place, -P (purge) deletes them too. The apt-get counterpart is apt-get purge.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications