Which of the following commands lists the dependencies of a given dpkg package?
Which of the following commands lists the dependencies of a given dpkg package?
The command to list the dependencies of a given dpkg package is `apt-cache depends package`. This command displays a list of dependencies for the specified package, including both direct and indirect dependencies.
C is correct https://itsfoss.com/check-dependencies-package-ubuntu/
The command that lists the dependencies of a given dpkg package is: C. `apt-cache depends package` You can use `apt-cache depends package` to display a list of dependencies for the specified package. This command shows both the package's dependencies and the packages that depend on it.