I wanted to know after couple of month what I have installed on my computer with linux. Just in case I have to reinstall my linux I want to know what tools and applications I have installed earlier. It is quite easy to list them for future references actually for brand new installations.
I have found the following link in that issue:
http://superuser.com/questions/48374/find-all-user-installed-packages
But its worth to save it on my blog and publish it for my own purpose ;-)
1. ‘/var/log/installer/initial-status.gz‘ — your primary installation this file date would be your installation date (i think)
2. ‘/var/log/dpkg.log‘ — update timeline (this is what you want)
3. ‘/var/log/apt/term.log‘ — things apt updated on your system
4. ‘/var/cache/apt/archives/‘ — will contain the deb packages downloaded for installation
To get the list of manually installed packages:
akos@getaway ~ $ grep -w install /var/log/dpkg.log* |
To get much better info:
akos@getaway ~ $ comm -13 \ <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort) \ <(comm -23 \ <(dpkg-query -W -f='${Package}\n' | sed 1d | sort) \ <(apt-mark showauto | sort) \ ) |
An example what I had in october:
akos@getaway ~ $ comm -13 \ > <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort) \ > <(comm -23 \ > <(dpkg-query -W -f='${Package}\n' | sed 1d | sort) \ > <(apt-mark showauto | sort) \ > ) af9015-dkms amaya bluefish calibre dvb-apps gnome-commander gnome-rdp hal hal-info handbrake-gtk inkscape kompozer libhal-storage1 libssl0.9.8 libwebcam0 mkvtoolnix mkvtoolnix-gui mythtv nvidia-current screenlets seamonkey skype sun-java6-jdk usb-imagewriter v4l-utils virtualbox-4.1 wgdd-archive-keyring w-scan |
and what I had in november:
trinity@getawayfromhere ~ $ comm -13 \ > <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort) \ > <(comm -23 \ > <(dpkg-query -W -f='${Package}\n' | sed 1d | sort) \ > <(apt-mark showauto | sort) \ > ) bluefish calibre cheese dvb-apps gnome-commander gnome-rdp hping3 inkscape kompozer nmap nvidia-current regionset skype virtualbox w-scan |
Posted on November 1, 2012
0