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 04-22-2008, 10:54 PM   #1
ahtoot
LQ Newbie
 
Registered: Jun 2005
Posts: 22

Rep: Reputation: 1
Prevent make install from overwriting


Hi,

When I run make install, I want to know which files would be changed or overwritten before running the actual command, to prevent accidental overwrite of existing files. Meaning, I want to run make install, see what changes would be made to the filesystem, then revert to a state before the make install as if I didnt execute the command

Is there any way I can do that?

Thanks in advance
 
Old 04-23-2008, 12:20 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Yes, it's very easy, I do sh** like that all the time.
After a fresh installation of an OS, and sometimes after some customizing, I make a compressed image of it's partition.
Then when I need to test something out, and not worry about screwing up my nice "day to day" installation, I make a new partition in free space on my drive, load an image of the OS I want to test in, and boot it up, all of this only takes less than five minutes when an image is already made.
Then hack away at this test installation. When I'm done, I wipe out the partition by writing zeros to every bit and have the space available for more testing with any of the many OS's on my drive.
I use bootitng which gives me this wonderful advantage using only primary partitions, I have at least twenty of them on average, which makes it easy to set up a testing environment at random on any part of a drive with just a couple clicks of the mouse.
 
Old 04-23-2008, 12:29 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
You can also install some virtual software like Vmware and take snapshots of a fresh guest OS installation of the same OS as the one your using and hack away at your VM and just resort to the snapshot when next you want to start from scratch. Same principle, only now you're running more than one OS at the same time, possibly the same one.
 
  


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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 01:18 AM
How can I prevent up2date from updating packages I didn't install? fiservguy Red Hat 1 06-02-2005 06:01 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 04:01 AM
prevent services from autostarting after install? kostian Debian 4 01-03-2005 06:15 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 06:58 AM


All times are GMT -5. The time now is 09:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration