Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02-03-2006, 02:44 PM   #1 (permalink)
Alpha Geek
 
Join Date: Feb 2005
Posts: 959
Default uninstalling a .tar.gz installed file???


hi,.

I am using Fedora Core 4 Linux. I downloaded a .tar.gz package and used the commands

Quote:
Originally Posted by legolas
tar xvfz <filename>.tar.gz

followed by....

./configure
make
make install
and it has installed the whole thing. now i wanted to uninstall it!! i can delete the directory where i created, but it has created the installation files in

Quote:
Originally Posted by legolas
/usr/local/include/.... path
how do i remove all the files installed using the configure, make and make install completely.... if its rpm, then i use rpm -e <package name> ..... i am a newbie in this... pls suggest me a solution!

thk u,
legolas
__________________
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
legolas is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 02-03-2006, 03:17 PM   #2 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

first there is not any easy way.if the maintainer provided "make uninstall" U can uninstall from the compiling directory(that may not be safe).for this U read README or INSTALL file in the source package.
Another way is to install "checkinstall" package.after install try "man checkinstall" for more details,it usually makes an rpm or deb so that u can install and uninstall.for eg:
Code:
foobar package
cd foobar
sarge:~# ./configure
sarge:~# make
sarge:~#checkinstall -R (for rpm)
thus u can uninstall that rpm by rpm -e foobar.

Download here
http://www.tldp.org/linuxfocus/Engli...ticle360.shtml
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 02-03-2006, 10:38 PM   #3 (permalink)
Alpha Geek
 
Satissh S's Avatar
 
Join Date: Mar 2005
Location: Chennai , India
Posts: 693
Default

@legolas: Most programs now come with a uninstaller script with install and configure scripts. You can use that.
cd into source <dir> and run,
#./uninstall
Or a bad way to do it, just locate the directories using
# locate <name of the program>
Most prolly, /usr/local/* or /usr/share/*
# rm -R <dir name>
# rm /usr/bin/<name_of_the_program>
To delete the symlink.
Satissh S is offline  
Old 04-03-2006, 09:37 AM   #4 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default

Quote:
Originally Posted by prakash kerala
first there is not any easy way.if the maintainer provided "make uninstall" U can uninstall from the compiling directory(that may not be safe).
Why will it not be safe?
eddie is offline  
Old 04-03-2006, 11:27 AM   #5 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

Quote:
Originally Posted by eddy
Why will it not be safe? Confused
because a lazy uninstall script may delete /usr/lib or /usr/local dir. (just saying a chance is there)
praka123 is offline  
Old 04-03-2006, 05:48 PM   #6 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default

I don't think ANY uninstall scripts deletes the directories with a recursive switch. Even programs like checkinstall use uninstall part of Makefile while making rpm/tgz etc, so it is as safe as the uninstall part of Makefile.
eddie is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by icebags
- by clinton
- by topgear

Advertisement




All times are GMT +5.5. The time now is 10:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2