Debian: Listing all user-installed packages?

后端 未结 9 1787
灰色年华
灰色年华 2021-02-04 03:39

For a cyber security competition I participate in, I\'m given a Debian virtual machine with many packages installed and asked to clean extraneous or malicious packages.

9条回答
  •  难免孤独
    2021-02-04 04:37

    Someone wrote a program generate a list of all packages manually installed (by users, by admin/root, or both), as determined by the Debian package system. It inspects Debian's apt-history log, and then combines the reports from the apt-mark program. Apt-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.

提交回复
热议问题