LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-05-2010, 08:59 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 658

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


Hello,

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:
Code:
# 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, 09:33 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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, 07:07 AM   #3
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 658

Original Poster
Rep: Reputation: 35
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.
 
  


Reply



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 09:36 AM
Update OpenGeu application menu after installing an application silencer07 Linux - Desktop 0 10-20-2008 09:19 PM
Installing applications made easy davsimp77 Linux - Newbie 1 08-23-2008 01:47 PM
LXer: Cross-browser Web application testing made easy LXer Syndicated Linux News 0 12-19-2007 09:41 PM
Hi never made a User application with (bash) carl0ski Programming 3 01-30-2006 05:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 PM.

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