Below is a grep one-liner to look through the logs and find out what was recently installed. Comes in handy if you can’t remember what the exact name of that package you installed earlier was.
grep "install\ " /var/log/dpkg.log This should give you a helpful output in the form below:
root@lambda:~# grep "install\ " /var/log/dpkg.log 2011-07-05 09:17:07 install libpam-modules-bin <none 1.1.3-2 2011-07-05 09:17:13 install libsane-common <none 1.0.22-4 2011-07-05 09:17:52 install libqzeitgeist0 <none 0.
Read more →