LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-21-2011, 08:33 AM   #1
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Rep: Reputation: 49
Is there an app that identifies all changes that have been made to a Slackware system


Hello:

Is there an app that you can run before installing a new package etc and then after the install that will show you all the changes that occurred on your system as a result of installing the new package?

Thanks,
 
Old 07-21-2011, 08:40 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
The files installed by an app are logged in /var/log/packages. Once you actually look in that directory and open one or two files there, it should be pretty obvious how it works.

If you're talking about changes like editing system files (e.g. rc.local), it's very rare (GNOME distributions have been known to do it, IIRC).

Last edited by dugan; 07-21-2011 at 08:51 AM.
 
1 members found this post helpful.
Old 07-21-2011, 10:00 AM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Is there an app that you can run before installing a new package etc and then after the install that will show you all the changes that occurred on your system as a result of installing the new package?
Knowing that kind of information is important in the proprietary software world. In the proprietary world software providers cannot be trusted and unwanted software often is installed along with the primary app. Years ago with Windows I used a slick little applet called InCtrl to install software. That applet took a snapshot of the registry and selected drive partitions before and after installing the new package. Very nice and yes, often I used the tool to delete unwanted components of the software installation.

Fortunately, free/libre software does not come with that kind of mistrust and baggage. The package management tools are sufficient to learn what was installed and where. Further, packages basically are compressed collections of files and easily viewed by normal tools as well as the package manager. No surprises or unwanted software. Even pre and post installation scripts can be viewed before installing the package.
 
1 members found this post helpful.
Old 07-21-2011, 10:23 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Quote:
Originally Posted by Robert.Thompson View Post
Hello:

Is there an app that you can run before installing a new package etc and then after the install that will show you all the changes that occurred on your system as a result of installing the new package?

Thanks,
Yeah, its an AI between keyboard and chair.
 
Old 07-22-2011, 02:38 AM   #5
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Provided that you only install software that has been made into slackware packages, pkgtool or /var/log/packages will tell you what was installed and when it was installed. (/var/log/removed_packages and /var/log/removed_scripts will also tell you what has been removed from your computer).
 
1 members found this post helpful.
Old 07-22-2011, 03:22 AM   #6
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Usually just checking /var/log/packages is enough to find out what files a package installed, as others point out. But perhaps you are referring to file integrity scanners and filesystem monitor software such as AIDE, FAM and Tripwire?
 
1 members found this post helpful.
Old 07-22-2011, 07:01 AM   #7
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Diantre View Post
Usually just checking /var/log/packages is enough to find out what files a package installed, as others point out. But perhaps you are referring to file integrity scanners and filesystem monitor software such as AIDE, FAM and Tripwire?
Thanks Diantre.

What I am trying to find out is, if I install GRUB from the Slackware 13.37 DVD, does the install process change any of the existing 350,000 Slackware files in any way.
 
Old 07-22-2011, 07:22 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Downlo9ad the grub-package and use explodepkg to decompress it. You will see all files with their location in the filesystem and also the doinstall.sh script. If you study that you will see what is changed, if something changes.
 
1 members found this post helpful.
Old 07-22-2011, 11:06 AM   #9
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
1.

.tgz slackware package

in konqueror, right click the file then choose

"preview in Ark" (the old kde compressed file app/viewer)

And now you may see what goes to where on the hard drive upon installation.
--

2.

# finds new(ly) (software installed) files
# redirect next to a file may serve as an install log of files installed

root@P5Q:~# find / -xdev -ctime -1

--
Alan
 
1 members found this post helpful.
Old 07-22-2011, 11:08 AM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by TobiSGD View Post
Downlo9ad the grub-package and use explodepkg to decompress it. You will see all files with their location in the filesystem and also the doinstall.sh script. If you study that you will see what is changed, if something changes.
You do need to uncompress the package to see the doinst.sh script, but if you're feeling confident and just want to see the files in the package, then you can just run less on the package or tarball.
 
1 members found this post helpful.
  


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
How is Slackware made? kja_007700 Slackware 17 02-04-2011 09:47 PM
Fedora System Compromised, But No Changes Made win32sux Linux - Security 2 01-26-2011 10:28 AM
Freenas system freezes when changes are made Hart02 *BSD 2 09-14-2008 02:15 PM
How can I install app made for OS X on Linux cwej Linux - Newbie 2 08-31-2006 07:52 AM
app made in qt designer doesn't do anything when started dfuse Programming 4 07-02-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:36 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
Open Source Consulting | Domain Registration