What/Where did it install HowTo
Author:  Ruwan Jayasinghe <rjayasin**lausd.k12.ca.us>
Contributor: Found on the NoCat.net-Wiki
Release supported: SME 5.6U4
License: GPL
Last updated: April 13, 2004

RJ

Problem:  You want to install an rpm/tgz on your Linux box and want to know what files were installed where.  

Solution:  Follow this Howto

 

STEP 1: Run this command to take a snapshot of the system “before” the changes. 

[root@e-smith root]# find / * > /tmp/name-of-pkg-preinstall


 

STEP 2: Install your software 

[root@e-smith root]# rpm –Uhv name-of-pkg.rpm


 

STEP 3: Run this command to take a snapshot of the system “after” the changes. 

[root@e-smith root]# find / * > /tmp/name-of-pkg-postinstall


 

STEP 4: Create a diff of the post vs. pre-install

[root@e-smith root]# diff /tmp/name-of-pkg-preinstall /tmp/name-of-pkg-postinstall > /tmp/name-of-pkg-install


 

STEP 5: Now see the new file locations

[root@e-smith root]# pico -w /tmp/name-of-pkg-install