What is the difference between the –remove and the –p…

What is the difference between the –remove and the –purge action with the dpkg command?

What is the difference between the –remove and the –purge action with the dpkg command?

A.
–remove removes the program, –purge also removes the config filesB. –remove only removes the program, –purge only removes the config files

C.
–remove removes a package, –purge also removes all packages dependent on it

D.
–remove removes only the package file itself, –purge removes all files related to the package



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Perico

Perico

B. –remove only removes the program, –purge only removes the config files

Perico

Perico

Me equivoqué, debe ser la A pero están unidas.
I was wrong, the correct is the A:
dpkg –purge is used to remove the package binaries and the configuration files.

purge
purge is identical to remove except that packages are removed and
purged (any configuration files are deleted too).