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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
08-27-2009, 01:03 AM
#1
LQ Newbie
Registered: Aug 2009
Location: Goa , India
Distribution: CentOS 5
Posts: 4
Rep:
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 .
08-27-2009, 01:13 AM
#2
Senior Member
Registered: Aug 2009
Posts: 3,048
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
08-27-2009, 01:29 AM
#3
LQ Newbie
Registered: Aug 2009
Location: Goa , India
Distribution: CentOS 5
Posts: 4
Original Poster
Rep:
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
~
08-27-2009, 02:26 AM
#4
Senior Member
Registered: Aug 2009
Posts: 3,048
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
08-27-2009, 05:17 AM
#5
LQ Newbie
Registered: Aug 2009
Location: Goa , India
Distribution: CentOS 5
Posts: 4
Original Poster
Rep:
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
08-27-2009, 05:24 AM
#6
Member
Registered: Jul 2009
Posts: 42
Rep:
updatedb and then try
08-27-2009, 05:46 AM
#7
LQ Newbie
Registered: Aug 2009
Location: Goa , India
Distribution: CentOS 5
Posts: 4
Original Poster
Rep:
Hi,
Done!!!!!
Thankyou
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 12:34 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News