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?
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...):
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-get do not.