How to Install Tor and Tor Browser in Ubuntu 20.10, Ubuntu 20.04

January 2, 2021 — 2 Comments

This is a beginner’s guide shows how to install and setup Tor service and Tor Browser in Ubuntu 20.10, Ubuntu 20.04, Linux Mint 20. It should also work in Ubuntu 18.04 and Ubuntu 16.04.

Tor, The Onion Router, is a free and open-source service enables people to browser the internet anonymously. While Tor in Ubuntu main repositories is always old, here’s how to install the LATEST version and receive updates via its apt repository.

How to Install Tor via the Official Apt Repository:

Tor has an official apt repository that supports for all current Ubuntu and Debian releases.

1.) Open terminal from system application launcher. Then run command to enable the usage of https in sources.list:

sudo apt install apt-transport-https

Type user password (no asterisk feedback) for sudo prompt and hit Enter.

2.) Run command to add the Tor repository:

sudo sh -c 'echo "deb [arch=amd64] https://deb.torproject.org/torproject.org $(lsb_release -sc) main" >> /etc/apt/sources.list.d/tor-project.list'

NOTE 1: For arm64 (e.g., Rasperry Pi), 32-bit Ubuntu 18.04/16.04, you have to remove [arch=amd64] from the command.
NOTE 2: For Linux Mint and other Ubuntu based systems, replace $(lsb_release -sc) in the command with the Ubuntu code-name (e.g, focal, bionic, groovy) that your system based on.

3.) The keyring updates regularly and there’s no valid command to install it so far. As an alternative, download the latest keyring .deb package from the link below:

Download Latest Keyring (.deb)

Then install it via double-click, gdebi, or by running command in terminal:

sudo apt install ./Downloads/deb.torproject.org-keyring*.deb

4.) Finally, refresh package cache and install Tor via 2 commands:

sudo apt update

sudo apt install tor

Or update it, if an old version was installed, via Software Updater

5.) Once installed, you can check Tor version and if it’s running via commands:

tor --version

systemctl status tor

How to Install Tor Browser in Ubuntu:

If everything goes OK, let’s now install the Tor web browser.

1.) Simply open terminal and run command:

sudo apt install torbrowser-launcher

2.) Then search for and open Tor Browser from system application launcher. It will automatically download & install the browser in your system.

You can also open Tor Browser Launcher and select a mirror

3.) Once the download process finished, select ‘Configure’ if you’re in a Country censors Tor or behind proxy in next window, or select ‘Connect’:

When everything’s done, the Tor browser starts. That’s all. Enjoy!

Uninstall Tor and Tor Browser:

To remove Tor Browser, open terminal and run command:

sudo apt remove torbrowser-launcher

To remove Tor network service, run command:

sudo apt remove --autoremove tor

To remove the apt repository, open Software & Updates -> Other Software, and remove the relevant line:

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

2 responses to How to Install Tor and Tor Browser in Ubuntu 20.10, Ubuntu 20.04

  1. I dual boot with Parrot OS. It comes with Tor and Tor browser as a default and optimized for privacy and security. It also has anon surf which helps hide your IPv4 and IPv6 addresses. It is probably the easiest way to set up the Onion network and Tor.

  2. Or you can run Arch which is a distribution that gets the freshest packages for everything every day. You can make some articles about Arch Linux too.
    Having Tor installed in Arch gets it update with every update.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.