Linux Foundation Certified System Administrator (LFCS) — Question 15

Which of the following commands lists the dependencies of a given dpkg package?

Answer options

Correct answer: C

Explanation

The correct command is 'apt-cache depends package', which accurately retrieves the dependencies for a given package. The other options either contain incorrect syntax or do not exist as valid commands in the apt-cache utility.