mpv has a lot of dependencies and I don't know how to search for them. Is there a way to search for the packages that contain the dependencies?
Asked
Active
Viewed 846 times
0
1 Answers
0
The following commands show information about a package (mpv
in this case), including dependencies.
aptitude show mpv
apt show mpv
The following command shows dependencies recursively (the depends of depends of...):
apt-rdepends mpv
The following commands show reverse dependencies (packages for which this package is a dependency):
apt rdepends mpv
apt-rdepends -r mpv
The following command shows both dependencies and reverse dependencies:
apt-cache showpkg mpv
If you just want to install a package and have the package manager handle dependencies, use:
`aptitude install mpv`
aptitude
automatically resolves conflicting dependencies during installation, whereas apt
/apt-get
do not.

xiota
- 4,849
mpv
is available from the universe repository.apt depends mpv
should give you the depends for mpv on your system. – DK Bose May 07 '18 at 13:23apt depends
works, but you can installrdepends
and then useapt-rdepends -r <packagename>
, may give a more thorough list...There's alsoapt-cache showpkg <packagename>
. Orubuntu-dev-tools
providesreverse-depends
. – Hee Jin May 07 '18 at 15:44