LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-07-2017, 09:57 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Tor does NOT want to uninstall ??


Something out of the Twilight Zone.

Use this to try to uninstall tor.

Code:
sudo apt-get remove tor
rm -r ~/.tor-browser-en
But Tor still starts ?

What is going on ?
 
Old 01-07-2017, 10:01 PM   #2
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Update

I had to manually delete the TOR directory as root.

Why Ubuntu would tell me it was uninstalled is the mystery for tonite. :-)
 
Old 01-07-2017, 10:08 PM   #3
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
How did you install TOR in the first place? It looks like you did not use apt-get, but apt-get is not perfect on removing something. You can always manually remove it (or any program). Specifically with TOR, go to /usr/local. There is a symlink there (tor) and a directory tor-browser_xxxxxx. Delete the symlink and mv the directory to some other name the system won't recognize. See what happens when you try to start tor.
There may be other files elsewhere so you may get some errors, but it shouldn't start. There is probably an item in the menus to delete. There may be some configuration files somewhere in you home directory. A general search with find can help with that. Be careful of deleting more than the directory and symlink though. Make sure you are not affecting anything else.

If all goes well, you can delete the directory name you moved the original tor directory to.
 
Old 01-08-2017, 12:39 AM   #4
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I do not recall how I installed TOR, but I do remember that it could not be done using the package manager.

TOR does not place an entry in the menu.

I do not like programs that use non-standard methods of installation. I consider that sloppy programming.
 
Old 01-08-2017, 12:59 AM   #5
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
Installing through a package is not non-standard. It has been while since I installed tor, but it seems to me it is done through a deb package of theirs, or else it is a tar.gz file, which usually makes it fairly simple to uninstall manually either way. Apt-get, aptitude, etc are simply simplifications and extensions of the dpkg process. The packages are usually maintained by volunteers, not the software writer him/herself. As a result the repository packages can be and often are one or two releases behind. In most cases this is not important. In some, especially security related issues, it can be VERY important. Tor falls into the latter category in my opinion, so I do not rely on repositories but on tor itself. And, I believe, though I am not sure, that all that has to be done to uninstall is delete the /usr/local package.

I agree with you on standard/non-standard, but I think my definition of standard may be broader than yours.
 
Old 01-08-2017, 07:52 PM   #6
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks for the info.

Go Packers. :-)
 
Old 01-09-2017, 02:59 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Fixit7 View Post
I do not like programs that use non-standard methods of installation. I consider that sloppy programming.
in the case of the tor browser package, this is by design and not sloppiness.
it sets up its own environment (jail) in ~/.tor_broser_* and runs inside that.
even if you install it through your packet management, that is what the package will do.
 
Old 01-09-2017, 06:47 PM   #8
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Ok.
 
  


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
LXer: Tor Project Releases Tor (The Onion Router) 0.2.8.8 with Important Bug Fixes LXer Syndicated Linux News 0 09-27-2016 05:13 AM
LXer: Tails 2.6 Anonymous Linux Live CD Is Out, Brings Tor 0.2.8.7 and Tor Browser 6.0.5 LXer Syndicated Linux News 0 09-21-2016 01:32 AM
LXer: Tor Browser 4.5.2 Is Out with the Latest Tor Anonymity Network Software LXer Syndicated Linux News 0 06-17-2015 02:40 PM
LXer: Tor exit nodes face unusual activity, is Tor being raided or under hack attack? LXer Syndicated Linux News 0 12-23-2014 12:03 AM
LXer: How To Set Up A TOR Middlebox Routing All VirtualBox Virtual Machine Traffic Over The TOR Netw LXer Syndicated Linux News 0 02-08-2012 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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