I am searching for the command-line equivalent of apt-cache rdepends <package> in Debian, i.e. locate all packages for which the given <package> is required.

cygcheck.exe doesn't seem to have such mode.

Running setup.exe and try to uninstall e.g. libserf1 to get the list of packages to be also uninstalled is not an option.


For dependency info you need the cygcheck-dep package.

Checking all packages that directly need a package.

$ cygcheck-dep -n libglpk40

 libglpk40: is needed for ( glpk lib4ti2_0 libglpk-devel octave )

Checking all packages directly required by a package.

$ cygcheck-dep -r libglpk40

 libglpk40: requires ( cygwin libgcc1 )
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.