linux - Debian: Listing all user-installed packages? - Stack ...
stackoverflow.com › questions › 41007182Apt-mark includes packages which were manually installed via use of the 'dpkg' system directly by users, not just ones installed via users through their package manager utility (Apt, Synaptic, Software Center, etc.). If you lack the apt-mark utility, you can tell it do just do the history inspection instead. See the GitHub page. List User Installed Debian Packages Utility. List all packages manually installed (by users, by admin/root, or both), as determined by the Debian package system.