nerdexam
LPI

101-350 · Question #35

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

The correct answer is A. --remove removes the program, --purge also removes the config files. See the full explanation below for the reasoning.

Question

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

Options

  • A--remove removes the program, --purge also removes the config files
  • B--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

How the community answered

(30 responses)
  • A
    73% (22)
  • B
    3% (1)
  • C
    17% (5)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 101-350 Practice