Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-08-2007, 11:59 AM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 504

Rep: Reputation: 31
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, 12:09 PM   #2
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, 01:11 PM   #3
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97

Something like:
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.



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 02:48 AM
how to uninstall tar.gz file megerdin Linux - General 2 07-23-2007 03:29 AM
How Do You "UNINSTALL" a tar.gz file???? Make Uninstall not effective Balarabay1 SUSE / openSUSE 6 05-22-2006 09: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 03:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration