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 11-08-2007, 12:59 PM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 484

Rep: Reputation: 30
want to uninstall tar file from server


hi friends ,

I have to install the 'tar' file in follwing way :

tar -zxvf blacklists.tar

Now I m going to uninstall all realted files from the Linux server . Plz tell me what is the command to uninstall it ?
 
Old 11-08-2007, 01:09 PM   #2
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
I think You uninstall(rather delete) it manually.
These commands would come handy

#find / -name name_of_ur_program
#whereis name_of_ur_program
#which name_of_ur_program
#locate name_of_ur_program

not sure but
rmp -qa | grep name_of_ur_program

And then
rm -f (for removing directories, i think)
 
Old 11-08-2007, 02:11 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Something like:
Code:
tar tvf blacklists.tar | xargs rm
should do it. The blacklists .tar file will have to be in the same place as when you extracted it, though. Be careful - probably best to run 'tar tvf blacklists.tar' first to make sure it'll remove the files you want to remove.

Dave
 
  


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 can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
how to uninstall tar.gz file megerdin Linux - General 2 07-23-2007 04:29 AM
How Do You "UNINSTALL" a tar.gz file???? Make Uninstall not effective Balarabay1 SUSE / openSUSE 6 05-22-2006 10:27 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM


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