LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-14-2013, 10:16 AM   #1
hanamilani
Member
 
Registered: Dec 2008
Posts: 66

Rep: Reputation: 0
how to remove this file


Hi,

I have installed this file: http://foo2zjs.rkkda.com/foo2zjs.tar.gz

following the procedure below:

Quote:
# tar -xzf foo2zjs.tar.gz
# cd foo2zjs
# make
# make install
Now I want to uninstall it, but I don't know how to do it:\
Could you help me please?
 
Old 09-14-2013, 10:32 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
The INSTALL file lists two commands (maybe more) that install stuff: make install and make install-hotplug. if the package doesn't offer a 'make uninstall' command then you could run
Code:
( make -n install 2>&1; make -n install-hotplug  2>&1 ) | tee /tmp/installer.log
to have it go through the motions. Now if you read back the contents of "/tmp/installer.log" you should be able to see which files end up where (look for install, cp, mv, cat or echo commands). Instead of just deleting those files it's suggested to move them elsewhere first and see if that works. For example
Code:
tar -cf /tmp/files.tar /usr/local/lib/foo2js --remove-files
would recursively move contents from inside /usr/local/lib/foo2js to the /tmp/files.tar archive.
 
1 members found this post helpful.
  


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 to remove carriage return from a file without creating any other file? sysmicuser Linux - Newbie 12 04-30-2013 12:01 PM
use grep to remove file pattern from conf file rhbegin Programming 4 12-02-2012 02:12 PM
[SOLVED] How do you find and remove largest file without having to manually type the file name am28 Linux - Newbie 4 11-23-2011 04:45 PM
Bash remove part of a file based on contents of another file bhepdogg Programming 4 01-31-2007 04:13 PM
c++ file processing -- how to remove a record from a file sharonyiisl Programming 4 09-26-2004 04:54 AM


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