Contents
How do I list pip dependencies?
The dependencies of the installed Python packages can be listed using the built-in pip show command. Alternatively the dependencies can be shown as a tree structure using the pipdeptree command.
How do I get the list of dependencies for a package using YUM command?
1 Answer. Add 1. The command # yum deplist [package-name] will list all dependencies. See https://linux.die.net/man/8/yum or use $ man yum , if available.
How to list packages that depend on another?
As Wes Hardaker said, a good built-in method is by using rpm -q –whatrequires . The thing is, rpm operates on capabilities for dependency resolution, not just simply on packages, as e.g. dpkg does in the Debian/Ubuntu family of Linux distributions.
How to list dependencies and dependents of a package on Linux?
For example, if we’d like to see the dependencies of the package postfix, we can do this: yum listed all required libraries and originating packages of postfix. This command have provided enough information for you to debug. An exhausted answer could be derived from listing in a tree structure using repoquery command.
How to list the dependencies of a package using pip?
Closed 6 years ago. How do I list the dependencies for a package using pip? Note that this answer from 2012 is out of date. First, the workaround, which the answer already said you probably shouldn’t do in 2012, now you can’t do it. If you want a similar workaround, you could use pip download, but it’s even less likely to be what you want.
How to get list of dependencies in aptitude?
In order to research what caused the installation of a given package, I’d like to get a list of packages which depend on that package. I couldn’t find anything obvious in man dpkg. By default, it only lists the “most installed, strongest, tightest, shortest” reason, but you can use aptitude -v why to make it output everything it finds.