Dpkg changes

From wikieduonline
Revision as of 09:36, 26 December 2019 by Welcome (talk | contribs) (Created page with "* Get a list of recently installed packages ** <code>zcat -f /var/log/dpkg.log* | grep "\ install\ " | sort</code> * Get a list of recently upgraded packages ** <code>zcat -f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Get a list of recently installed packages
    • zcat -f /var/log/dpkg.log* | grep "\ install\ " | sort
  • Get a list of recently upgraded packages
    • zcat -f /var/log/dpkg.log* | grep "\ upgrade\ " | sort
  • Get a list of recently installed or upgraded packages
    • zcat -f /var/log/dpkg.log* | egrep "\ install\ |\ upgrade\ " | sort -nk1


See also

  • https://linux.die.net/man/8/update-alternatives
  • Advertising: