I would like to see a diff. of my Ubuntu system - including all new directories, files, and file changes - comparing the state before vs. after an application installation. How would I do that? Thanks.
2 Answers
Check these and you may find what your looking for:
/var/lib/dpkg/info
/var/log/dpkg.log
/var/log/aptitude
But aptitude logging is notoriously inadequate.
-
1This fails to account for the effects of preinst, postinst, and configure scripts. If it's a one-off job, inspect those scripts to see what they do; for a more systematic approach, perhaps hack
dpkg
tostrace
them? (Maybe it has already been done.)– tripleeeOct 10, 2011 at 15:21 -
I would like something that is decoupled from any package management tool so that I can see changes after installing software from source. Thanks.– nbspOct 10, 2011 at 15:23
-
That would be completely dependant on the source you are installing then, and if that source even creates a log file. Linux does not track these things (by default) like say windows event viewer does. You can have custom logging packages but thats up to the user to install. /var/log holds a lot of good info too, check out /var/log/messages or /var/log/dmesg.– chownOct 10, 2011 at 15:27