QuestionQ66

VerifiedLinux Installation and Package Management

Which command removes a package while retaining its configuration files in case the package is installed again?

Explanation

dpkg -r pkgname removes the package but preserves its configuration files, allowing them to be reused if the package is reinstalled. Purging with dpkg -P also removes configuration files.

Community Discussion

No comments yet. Be the first to start the discussion!