📅  最后修改于: 2022-03-11 14:49:59.262000             🧑  作者: Mango
# This returns only the manually installed packages and only the package name (no extra info etc)
comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)