Thursday, October 17, 2013

Ubuntu - List recently installed packages

To list recently installed packages in Ubuntu:

* Via any method:

$ cat /var/log/dpkg.log | grep "\ install\ "


* Via apt-get (NOTE: this doesn't list dependencies installed, it simply lists previous apt-get commands that were run):

$ cat /var/log/apt/history.log | grep "\ install\ "