LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Tor does NOT want to uninstall ?? (https://www.linuxquestions.org/questions/ubuntu-63/tor-does-not-want-to-uninstall-4175597007/)

Fixit7 01-07-2017 09:57 PM

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 ?

Fixit7 01-07-2017 10:01 PM

Update

I had to manually delete the TOR directory as root.

Why Ubuntu would tell me it was uninstalled is the mystery for tonite. :-)

agillator 01-07-2017 10:08 PM

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.

Fixit7 01-08-2017 12:39 AM

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.

agillator 01-08-2017 12:59 AM

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.

Fixit7 01-08-2017 07:52 PM

Thanks for the info.

Go Packers. :-)

ondoho 01-09-2017 02:59 PM

Quote:

Originally Posted by Fixit7 (Post 5651919)
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.

Fixit7 01-09-2017 06:47 PM

Ok.


All times are GMT -5. The time now is 02:20 PM.