How To Easily Install Tor Browser In Ubuntu 14.04 And Linux Mint 17

Care to Share?

How to install Tor browser in Ubuntu 14.04 and Linux Mint 17

Keeping all the fiasco of NSA snooping on citizens and governments worldwide in mind, privacy is a growing concern for many. If you too are concerned about your online safety and want to protect yourself from network surveillance, Tor project is the best option available.

Tor Project has its own Tor browser which is based on Firefox and configured to protect users’ privacy and anonymity by using Tor and Vidalia tools that come bundled with it. Though you can download Tor browser and install it from the source code, we shall see an easier way to install Tor browser in Ubuntu 14.04 and Linux Mint 17.

How to install Tor browser in Ubuntu 14.04 and Linux Mint 17

Thanks to Webupd8, we have a PPA that we can use to install Tor browser in Ubuntu and other Ubuntu based Linux OSes easily (if you are not comfortable installing from source code). Open a terminal (Ctrl+Alt+T) and use the following commands:

sudo add-apt-repository ppa:webupd8team/tor-browser
sudo apt-get update
sudo apt-get install tor-browser

The above PPA should also be valid for Ubuntu 12.04 and other Linux distributions based on it.

Uninstall Tor browser

If you want to uninstall Tor browser, use the following command:

sudo apt-get remove tor-browser
rm -r ~/.tor-browser-en

I hope this quick test helped you to easily install Tor browser in Ubuntu 14.04 and Linux Mint 17.  Any questions or suggestions are always welcomed.

  • David

    For some reason when I load the PPA (when trying to install on Linux Mint 17) it loads the PPA for Saucy instead of Trusty. So when I do a apt-get update, it fails to find the program for my current version. Anyone else having this same issue?

    • http://itsfoss.com/ Abhishek Prakash

      Can you remove the other PPA and try this:

      sudo add-apt-repository ppa:upubuntu-com/tor64
      sudo apt-get update
      sudo apt-get install tor-browser

      Change ownership of /.tor-browser to your current user with this commands:

      sudo chown -R USERNAME ~/.tor-browser

      • David

        Results of adding the upubuntu-com/tor64 PPA instead resulted in this as an output upon doing a sudo apt-get update ” Failed to fetch http://ppa.launchpad.net/upubuntu-com/tor64/ubuntu/dists/qiana/main/binary-amd64/Packages 404 Not Found”

        Any ideas??

        • http://itsfoss.com/ Abhishek Prakash

          Very interesting… it is looking for Qiana packages… while Linux Mint, which is based on Ubuntu, should be looking for Trusty and not Qiana. You can see the packages here: http://ppa.launchpad.net/upubuntu-com/tor64/ubuntu/dists/

          Some info here: http://community.linuxmint.com/tutorial/view/1221

          Seems like sources.list has some issue. Try to remove, do a clean and an update afterwards to add the PPA again.

          • Oliver Lynton

            Mint 17.
            I have had the NoDistroTemplateException: Error: could not find a distribution template for LinuxMint/qiana issue while installing Cinelerra. I have worked around it by editing /etc/lsb-release (backing up the original), changing it from Mint 17 to read:

            DISTRIB_ID=Ubuntu
            DISTRIB_RELEASE=14.04
            DISTRIB_CODENAME=trusty
            DISTRIB_DESCRIPTION=”Ubuntu 14.04.1 LTS”

            I then rebooted (not sure if this was necessary) and was able to add the repository and install Cinelerra-cv from the terminal.

            ppa:webupd8team/tor-browser Also now works :)

  • RZ

    I’m also on Mint 17: aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for LinuxMint/qiana

    • http://itsfoss.com/ Abhishek Prakash

      alright! It seems I took it for granted that this will work in Mint 17 just because it worked in Ubuntu 14.04. I’ll have to use Mint 17 to get a fix for this issue.

  • Thameem Ansari

    hi sir i am new to ubuntu
    when i am trying to install tor browser i got error message plz help me

  • Gautam

    Hi Abhishek, I have Linux Mint 17 Mate 32 bit installed on my Asus laptop and would like to know whether installing the TOR browser would help me mask the .torrent files that I download.

  • rami888

    when I tried to install tor browser for linux mint 17 qiana I got this;

    sudo add-apt-repository ppa:webupd8team/tor-browser
    Traceback (most recent call last):
    File “/usr/bin/add-apt-repository”, line 91, in
    sp = SoftwareProperties(options=options)
    File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 109, in __init__
    self.reload_sourceslist()
    File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
    File “/usr/lib/python3/dist-packages/aptsources/distro.py”, line 89, in get_sources
    (self.id, self.codename))
    aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for LinuxMint/qiana
    Error in sys.excepthook:
    Traceback (most recent call last):
    File “/usr/lib/python3/dist-packages/apport_python_hook.py”, line 138, in apport_excepthook
    os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), ‘wb’) as f:
    FileNotFoundError: [Errno 2] No such file or directory: ‘/var/crash/_usr_bin_add-apt-repository.0.crash’

    Original exception was:
    Traceback (most recent call last):
    File “/usr/bin/add-apt-repository”, line 91, in
    sp = SoftwareProperties(options=options)
    File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 109, in __init__
    self.reload_sourceslist()
    File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
    File “/usr/lib/python3/dist-packages/aptsources/distro.py”, line 89, in get_sources
    (self.id, self.codename))
    aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for LinuxMint/qiana