How To List The Dependencies Of A Package In Linux

'The other day I was trying to figure out if there is any easy way to find or list the dependencies of a package in Linux. I have been using Linux as my primary OS for few years now, yet I couldn’t how to find the dependencies for a certain package. Fortunately, I found a workaround after a few google searches and wanted to share it with our readers. So, here you go.' -- source: https://www.ostechnix.com/list-dependencies-package-linux/ Cheers, Peter -- Peter Reutemann Dept. of Computer Science University of Waikato, NZ +64 (7) 858-5174 http://www.cms.waikato.ac.nz/~fracpete/ http://www.data-mining.co.nz/

On Thu, 17 Aug 2017 14:05:10 +1200, Peter Reutemann wrote:
'The other day I was trying to figure out if there is any easy way to find or list the dependencies of a package in Linux. '
The apt-cache depends/rdepends commands also have the --recurse option, to show indirect dependencies as well. And for showing details of a package (installed or not), try apt-cache show «package-name» and apt-cache showpkg «package-name» (They show slightly different info.)
participants (2)
-
Lawrence D'Oliveiro
-
Peter Reutemann