LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2009, 01:03 AM   #1
sweta.mulgavker
LQ Newbie
 
Registered: Aug 2009
Location: Goa , India
Distribution: CentOS 5
Posts: 4

Rep: Reputation: 0
Question How to uninstall FAKE if there us no make uninstall available


Hi,

Is there any way by which i can uninstall FAKE which I had installed using make ?

Last edited by sweta.mulgavker; 08-27-2009 at 01:07 AM.
 
Old 08-27-2009, 01:13 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Hi,

It would depend on the Makefile, but I think generally 'make fake' would not actually install anything...

If you are concerned, please post the contents of the Makefile

cheers,

kbp
 
Old 08-27-2009, 01:29 AM   #3
sweta.mulgavker
LQ Newbie
 
Registered: Aug 2009
Location: Goa , India
Distribution: CentOS 5
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,

My Makefile contents are -->



ROOT_DIR=
BIN_DIR=$(ROOT_DIR)/usr/bin
BIN=fake
CONFIG_DIR=$(ROOT_DIR)/etc/fake
CONFIG=.fakerc clear_routers
INSTANCE_CONFIG_DIR=$(ROOT_DIR)/etc/fake/instance_config
INSTANCE_CONFIG=instance_config/203.12.97.7.cfg
MAN8=fake.8 send_arp.8
MAN8_DIR=$(ROOT_DIR)/usr/man/man8
DOC_DIR=$(ROOT_DIR)/usr/doc/fake-1.0.0
DOCS=README AUTHORS COPYING ChangeLog

.PHONY: all install clean patch

all: patch
make -C send_arp

clean:
make -C send_arp clean
rm -f core

install: all
make -C send_arp install
test -d $(BIN_DIR) || mkdir -p $(BIN_DIR)
install -c -m 755 $(BIN) $(BIN_DIR)
test -d $(CONFIG_DIR) || mkdir -p $(CONFIG_DIR)
install -c -m 644 $(CONFIG) $(CONFIG_DIR)
test -d $(INSTANCE_CONFIG_DIR) || mkdir -p $(INSTANCE_CONFIG_DIR)
install -c -m 644 $(INSTANCE_CONFIG) $(INSTANCE_CONFIG_DIR)
test -d $(DOC_DIR) || mkdir -p $(DOC_DIR)
install -c -m 644 $(DOCS) $(DOC_DIR)
test -d $(MAN8_DIR) || mkdir -p $(MAN8_DIR)
install -c -m 644 $(MAN8) $(MAN8_DIR)

patch:
cd send_arp ; test -f Makefile || patch -p 1 < ../send_arp.patch
~
 
Old 08-27-2009, 02:26 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
As the makefile does not have an uninstall target, you will need to manually remove:

rm -f /usr/bin/fake
rm -rf /etc/fake
rm -rf /usr/doc/fake-1.0.0
rm -f /usr/man/man8/fake.8 /usr/man/man8/send_arp.8

cheers,

kbp
 
Old 08-27-2009, 05:17 AM   #5
sweta.mulgavker
LQ Newbie
 
Registered: Aug 2009
Location: Goa , India
Distribution: CentOS 5
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,
I deleated all those folders but when I try n locate them they are still showing up . Is it ok?

The fake command is not working tough
 
Old 08-27-2009, 05:24 AM   #6
laginagesh
Member
 
Registered: Jul 2009
Posts: 42

Rep: Reputation: 16
updatedb and then try
 
Old 08-27-2009, 05:46 AM   #7
sweta.mulgavker
LQ Newbie
 
Registered: Aug 2009
Location: Goa , India
Distribution: CentOS 5
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,

Done!!!!!

Thankyou
 
  


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
How Do You "UNINSTALL" a tar.gz file???? Make Uninstall not effective Balarabay1 SUSE / openSUSE 6 05-22-2006 09:27 PM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 09:13 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
Uninstall without make uninstall zynor Linux - Software 3 08-23-2003 10:00 PM
make uninstall? cav Linux - General 4 05-04-2003 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:05 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