I'm new to Linux. I've installed Tor as root user. Will I have issues?

I did this as per the instructions:

You need to add the following entry in /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:

deb http://deb.torproject.org/torproject.org xenial main
deb-src http://deb.torproject.org/torproject.org xenial main

But then I did all this as sudo su:

Then add the gpg key used to sign the packages by running the following commands at your command prompt:

gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

You can install it with the following commands:

$ apt-get update
$ apt-get install tor deb.torproject.org-keyring

But when I went to download Tor Browser on the next page it says:

do not install or run as root.

Will using sudo cause problems? I didn't run the Browser as sudo. Just installed and signed the packages as sudo.

1 Answer 1



The tor package available through apt-get isn't needed or related to using Tor Browser.

As such the steps you performed as root won't affect the steps you performed to install Tor Browser, assuming you followed the steps given on the Tor Project site, e.g.:

# Download Tor Browser and it's signature
wget https://www.torproject.org/dist/torbrowser/6.0.7/tor-browser-linux64-6.0.7_en-US.tar.xz{,.asc}
# Fetch the Tor Browser GPG signing key
gpg --recv-keys 0x4E2C6E8793298290
# Verify the signature
gpg --verify tor-browser-linux64-6.0.7_en-US.tar.xz{.asc,}
if [[ $? -ne 0 ]]; then exit;fi
# Extract it
tar vxaf tor-browser-linux64-6.0.7_en-US.tar.xz
# Launch Tor Browser
  • What is the tor package for? Why is step one to install the tor package of not needed? Is it for running other apps through the tor network. torproject.org/docs/debian.html.en Dec 6, 2016 at 22:44
  • 1
    Tor Browser ships with it's own copy of tor that is launched and managed from the browser. There is no official documentation that I'm aware of that states that Tor Browser requires you to install the debian package, that documentation you've linked to is if you want to run a stand-alone Tor daemon for use as a relay/bridge or without a browser.
    – cacahuatl
    Dec 6, 2016 at 22:59
  • So if I wanted to remove the package I have installed would I do: sudo apt-get remove --purge tor deb.torproject.org-keyring Dec 7, 2016 at 11:02
  • Yes, something along those lines. It won't harm Tor Browser in any way but if you wanted to remove the packages, that's the command you'd run.
    – cacahuatl
    Dec 7, 2016 at 21:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .