To find out what repository a package came from, use the dpkg -s command. [email protected]:~$ dpkg -s zdoom Package: zdoom Status: install ok installed Priority: optional Section: web Installed-Size: 9330 Maintainer: DRD Team <[email protected]> Architecture: amd64 Version: 2.8.1 Depends: libc6, libstdc++6, zlib1g, bzip2, libgtk2.0-0 Recommends: timidity, libfluidsynth1 Description: Advanced Doom source [email protected]:~$ dpkg -s zdoom …

This useful command will display a count of all installed packages on your Debian Linux machine. [email protected]:~$ dpkg-query -l | wc -l [email protected]:~$ dpkg-query -l | wc -l 2027 Grepping the output to find certain packages. [email protected]:~$ dpkg-query -l | grep vim ii vim-common 2:7.4.052-1ubuntu3 amd64 Vi IMproved – Common files ii vim-tiny 2:7.4.052-1ubuntu3 amd64 …