LinuxQuestions.org
Review your favorite Linux distribution.
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, 09:59 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Posts: 500

Rep: Reputation: 32
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, 10:33 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
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
littlebigman
Member
 
Registered: Aug 2008
Posts: 500

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.
 
  


Reply


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


All times are GMT -5. The time now is 08:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration