You can use `apt` with options (`man apt-cache` , `man apt` ..) to get the needed information

>[**dpkg or apt?**][1]

>`dpkg` should be seen as a system tool (backend), and `apt` as a tool closer to the user, which overcomes the limitations of the former. These tools work together, each one with its particularities, suited to specific tasks.

e,g 1: you can list the installed package on your system through `dpkg` or `apt`:

 apt list --installed
 dpkg -l

e,g 2 :To find out the dependencies you can use `apt-rdepends` , or `apt-cache showpkg` ...

 apt-rdepends <package_name>
 apt-cache showpkg <package_name>
 


 [1]: https://debian-handbook.info/browse/stable/sect.manipulating-packages-with-dpkg.html