install-log

Download / Current Site | CVS Repository (New) | CVS Repository (Old) | Mailing List

Update, 2002-10-28: install-log has moved to a new server for continued development. Go to http:/ioioio.net/devel/install-log/ for news and for the latest versions. 1.9 is pretty old now, so you might want to grab the cvs version, which contains a pretty good tutorial: LFS-HINT.

install-log is a simple utility to help you keep track of what files are installed by your source and binary packages. Type install-log <package> after installing something, and it'll make a list of every file that has been added or updated since the last time install-log ran (or since the modification time of /var/install-logs/.timestamp).

The resultant files are stored in /var/install-logs and are plain text files. With few exceptions, they are simply lists of /path/filename delimited by newlines and are thus suitable for feeding through xargs in order to, for instance, uninstall a package ("# xargs rm < /var/install-logs/msword").

The exceptions come from running install-log more than once for a single package after, for instance, installing a newer version on top of the old one. The resultant list will once again contain all the files updated recently, but it will also specially list every file not updated that was previously listed. It also lists everything that has been deleted since the last time install-log ran.

install-log was written for use with Linux from Scratch, but of course it should run in any decent UNIX-like installation. Yet its special connection with LFS is that it is capable of operating in a pseudo-chroot environment for building a Linux installation in a subdirectory of the root one. Just set LFS to the development installation base directory, and it'll pretend you're chrooting. You can get this with the --root option as well.

To install it, use make install. Use /etc/install-log.rc for global configuration. And email me with success reports, bug reports, feature requests, thanks, gripes, and offers to help out. I promise, this program is going to grow into something extremely useful. As it stands now, it's quite nice. I mean, how else can you tell where /usr/bin/webpng came from? Enjoy.


SourceForge LogoCreated with vim