Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from Oct 10 '11 at 16:36

This question came from our site for professional and enthusiast programmers.

Check these and you may find what your looking for:


But aptitude logging is notoriously inadequate.

share|improve this answer
This 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 to strace them? (Maybe it has already been done.) – tripleee Oct 10 '11 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. – nbsp Oct 10 '11 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. – chown Oct 10 '11 at 15:27

Isn't that what tripwire does?

share|improve this answer
Does anyone have any experience using Tripwire thus? – nbsp Oct 11 '11 at 17:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.