Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-05-2010, 09:59 AM   #1
Registered: Aug 2008
Posts: 528

Rep: Reputation: 32
Question Checking changes made before/after installing application?


I need to know which files were added/modified/moved/deleted after compiling and installing an application from source code, ie. the command-line, Linux equivalent to the venerale InCtrl5.

Is there a utility that does this, or a set of commands that I could run and would show me the changes?

The following is sort of OK, although it includes the lines where changes occured (eg. "@@ -2,6 +2,7 @@"), and "." and ".." that I don't need:
# ls -aR /tmp > b4.txt
# touch /tmp/test.txt
# ls -aR /tmp > after.txt
# diff -u b4.txt after.txt
Thank you.
Old 08-05-2010, 10:33 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
In the final step of installation (make install), you see the output scrolling down the terminal window. You can capture that output to a file using the tee utility.

Example: make install | tee install.txt

Afterward, you can inspect the file to see what happened to files during installation.
Old 08-06-2010, 08:07 AM   #3
Registered: Aug 2008
Posts: 528

Original Poster
Rep: Reputation: 32
Thanks for the idea. I was looking for a universal solution to see what changes were made to the filesystem, whether it was when running "make install", using apt-get/yum, or just running an application, so as to be able to understand how an application works.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Real time network checking on application ? Kraiser10 Linux - Software 3 04-18-2010 10:36 AM
Update OpenGeu application menu after installing an application silencer07 Linux - Desktop 0 10-20-2008 10:19 PM
Installing applications made easy davsimp77 Linux - Newbie 1 08-23-2008 02:47 PM
LXer: Cross-browser Web application testing made easy LXer Syndicated Linux News 0 12-19-2007 10:41 PM
Hi never made a User application with (bash) carl0ski Programming 3 01-30-2006 06:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration