Ubuntu : Package Command
List all installed packages
$ apt list --installed
List of files installed from apt package
$ dpkg -L package_name
List dependent packages (reverse dependencies)
$ apt-cache rdepends package_name
$ apt list --installed
$ dpkg -L package_name
$ apt-cache rdepends package_name