How to Easily Install Tor Browser in Ubuntu and Other Linux

Learn to install Tor browser on Linux. You’ll also learn a few tips about effectively using the Tor Browser.
Warp Terminal

Privacy is one of the most discussed topics these days, from the NSA spying on citizens and governments alike to the Facebook data scandals. The vicious circle of companies abusing customer/user data will always continue.

So, privacy-concerned users are looking for ways to enhance their digital experience without sharing a lot of personal information.

And, one of the ways to do that is to pick the right browser for a private internet experience. Of course, you can choose to go with the best web browsers for Linux. But, if you want to be extremely cautious?

Tor Browser by the Tor Project will be the ideal choice. Note that the user experience with Tor Browser may not be pleasing, but if you’re laser-focused on privacy protections, it should be a solid option.

If you want more straightforward solutions that do not affect user experiences, you might want to check out our list of the best simple tools to protect privacy.

You should always prefer using the recommended method of installation. But, if you have different requirements, we also have some alternative options.

Method 1. Install latest Tor Browser using official method

Tor project provides an easy to use install method for Tor browser on Linux-based system, no matter what you use.

Download Tor Browser archive file

First, download the required archive file for Linux and the signature file from the official download page.

Download the Tor Browser Archive file and signature for Linux
Download Tor Browser Archive File

Once downloaded, it's time to verify the file. For this, you need to have GnuPG installed. Then to import the keys run:

gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]

After importing the key, save it to a file using:

gpg --output ./tor.keyring --export 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290

Now, verify the files by running the command:

gpgv --keyring ./tor.keyring /path/to/downloaded-tor-signature.tar.xz.asc /path/to/downloaded-tor-browser-file.tar.xz

If you get a Good Signature message, you are good to go, and look below to install Tor browser on your system.

Install Tor Browser

After you verify the file, extract the TAR file. You can use the file manager to extract it by right-clicking and selecting Extract.

Click on Extract to extract the downloaded Tor Browser archive file
Click on Extract
🚧
I will suggest you to copy the extracted folder to a new directory instead of keeping it in the downloads folder. You can create a directory called .Applications on your user’s home directory and move the extracted folder to this directory. If you keep it in the downloads folder, chances are there it will be accidentally removed.

Enter into the extracted folder. Here you can see a start-tor-browser.desktop file. Make this file executable. For this, right-click on the file and go to properties.

Right-click on the Tor Browser desktop file and select properties from the context menu.
Select Properties

In the latest Ubuntu LTS, toggle the “Executable as Program” button in the properties.

Make the Tor Browser desktop file executable using the Nautilus file manager.
Make Desktop File Executable
🚧
In older versions, you may need to go to the permissions tab and check the Allow executing file as program checkbox.

Once the file is executable, open a terminal in that location.

Now, enter the command below to register the Tor browser as a desktop app.

./start-tor-browser.desktop --register-app
Register Tor Browser as a desktop app.
Register Tor Browser as a Desktop App

You can now open the app from the system menu.

Open Tor Browser from Activities Overview
Open Tor Browser

How to update Tor Browser?

It is important to keep Tor Browser up to date to ensure full security. In the case of installation, you have to perform the update manually.

Manually does not mean that you need to check for updates all the time. When an update is available for the Tor Browser, the browser will notify you about the same in the system menu.

Click on the top-right hamburger menu and you can easily spot it.

🚧
The Tor browser will detect update only if you are connected to the Tor network. Otherwise, it will not show updates, and if you check on Menu → Help → About, you will get a “Failed to check for updates” error.
Click on “Update available - restart now” button to update the Tor Browser.
Update and Restart

As you can see in the screenshot above, all you have to do is click on the Update Available - restart now button.

It will download and install the updates for you.

Installing Tor Browser Updates when select to install the update.
Installing Tor Browser Updates

Once the update is completed, the browser will restart itself to complete the process.

How to uninstall Tor Browser?

Before uninstalling, you should close the browser completely.

Since we are not integrating anything into our system, you can remove the tor browser folder you earlier extracted to uninstall the browser.

First, remove the desktop file using:

rm ~/.local/share/application/start-tor-browser.desktop

In this case, since we placed the extracted folder in ~/.Application directory, run:

rm -rf ~/.Application/tor-browser

That’s it. You have uninstalled Tor Browser successfully.

Method 2. Install Tor browser with Tor Browser Launcher

There is another package called Tor Browser launcher, which you can use to install Tor Browser. The launcher can be installed either from the system’s software repository or from Flatpak.

Install Tor browser launcher using APT

🚧
This is not the recommended method. You will find an older version of the installer using this method, but it will download the latest Tor Browser.

The Tor browser launcher has been included in the Universe repository of Ubuntu, so you can easily use the apt command to install it.

If you are using Ubuntu, ensure the Universe repository is enabled. It should be the case by default, but if not, you can do it with the command here:

sudo add-apt-repository universe && sudo apt update

Once you have that, you can install the Tor browser launcher:

sudo apt install torbrowser-launcher

Note that this is not the browser itself. It’s just the installer. So, to run the launcher, you need to type in the following in the terminal:

torbrowser-launcher

Or you can search for it in the app menu and launch it.

Install Tor Browser Using Flatpak

The Tor Browser launcher has made things a lot simpler to install the Tor browser on Linux. It does everything for you automatically; you just have to install and run it.

No matter what Linux distribution you have, you can install the latest Tor Browser launcher using Flatpak.

If you have a software store that supports Flatpak (like Pop!_Shop on Pop!_OS), you can effortlessly search for the “Tor Browser launcher” and install it.

🚧
In the case of new Linux Mint 22, the Flatpak version of Tor Browser Launcher will not be shown in the Software Manager App. This is because Tor Browser in Flathub is unverified at the time of updating this article and Linux Mint 22 disabled unverified Flatpak apps in Software Manager. This can change in the future when the project becomes verified.
Install Tor Browser Launcher in Pop!_OS using Cosmic App Store.
Install Tor Browser Launcher Flatpak

In case you prefer the terminal, you should first set up Flatpak if you haven’t and then type in the following commands:

flatpak install flathub org.torproject.torbrowser-launcher

Now, open the launcher from the system’s app menu. Or you can use the command:

flatpak run org.torproject.torbrowser-launcher

When you run the launcher, it will download the tor browser as shown in the screenshot below. You must follow the on-screen instructions to continue connecting to Tor and launching the browser.

The Tor Browser Launcher downloads the Tor Browser when launched.
Launcher Downloading the Browser

Troubleshooting Tip: Fixing SIGNATURE VERIFICATION FAILED error

When the download finally finishes, you may encounter an error that says, “SIGNATURE VERIFICATION FAILED”. The error code being GENERIC_VERIFY_FAIL as shown below.

📋
This was noted in an older version during Ubuntu 20.04 version. We tested this solution for Ubuntu 20.04 LTS. You can try this method if the problem still affects you.
Tor Browser Signature verification error.
Tor Browser Error

To fix this, you need to refresh the outdated GPG key bundled in the Tor launcher with a new one from Ubuntu’s key server.

You can simply click “Start” to try again and that should fix it. If that still hasn’t fixed the issue, you may use the command below to do that:

gpg --homedir "$HOME/.local/share/torbrowser/gnupg_homedir" --refresh-keys --keyserver keyserver.ubuntu.com

Normally, it should show that the key has been refreshed as follows:

gpg --homedir "$HOME/.local/share/torbrowser/gnupg_homedir" --refresh-keys --keyserver keyserver.ubuntu.com

gpg: refreshing 1 key from hkp://keyserver.ubuntu.com

gpg: key 4E2C6E8793298290: 70 duplicate signatures removed

gpg: key 4E2C6E8793298290: 216 signatures not checked due to missing keys

gpg: key 4E2C6E8793298290: 2 signatures reordered

gpg: key 4E2C6E8793298290: "Tor Browser Developers (signing key) [email protected]" 283 new signatures

gpg: key 4E2C6E8793298290: "Tor Browser Developers (signing key) [email protected]" 1 new subkey

gpg: Total number processed: 1

gpg:            new subkeys: 1

gpg:         new signatures: 283

gpg: no ultimately trusted keys found

Now you need to click on Tor browser from your app menu again to restart the download and installation. It should be quicker than before.

Tor browser is now successfully installed, and you have resolved the error.

Enjoy browsing the internet anonymously and privately now!

How to Uninstall Tor Browser?

If you are not happy with the Tor browser (installed via APT), you can remove it using the command below:

sudo apt purge torbrowser-launcher

If you installed it using Flatpak, you can easily uninstall it using the software center or the terminal

flatpak uninstall com.github.micahflee.torbrowser-launcher

Connecting to the Tor Network

After the download is done, you will be greeted with a connection screen as shown below. Click on the “Connect” button to start the browser with the Tor session.

Click on connect to start connecting to the Tor Network
Click on Connect

Once it is up and running, you’ll be at the home screen of the browser:

Tor Browser connected to Tor Network.
Tor Home Screen

Enjoy browsing the internet anonymously and privately now!

A few tips for using the Tor Browser

Now that you have installed the Tor browser, let me tell you a few tips about using it. It’s up to you if you want to use some or all of these tips.

1. Check if you are properly connected to the Tor Network

Go to the Tor network check page to see if your browser is properly connected to the network.

Tor Network connection is success.
Connection Success

2. Avoid using the browser maximized

Maximizing the browser allows websites to access device info such as screen size and resolution. If you’re concerned about this, do not maximize the browser. The Tor browser comes with this letterboxing feature by default. For most of the time, do not try to circumvent this setting.

3. Choose your security level

By default, Tor Browser chooses the standard security level. However, you can select ‘Safer’ and ‘Safest’ levels. You can learn more about the levels here.

Click on Safety Settings change button in Tor Browser.
Click on the Safety Level Button

To access security settings, click on the Shield icon next to the Tor Browser URL bar. To view and adjust security settings, click the Settings button in the shield menu.

Different Safety levels in Tor Browser settings page.
Different Safety Levels

4. Change a few browsing habits

Try to use search engines that do not track you. Tor even sets DuckDuckGo as the default search engine. Also avoid installing browser extensions as they may track you.

5. Stay away from illegal sites

As Tor is a hidden network, so you may come across a few sites that are illegal or promote shady/illegal activities. Try to stay away from these kinds of websites.

6. Understand Tor Circuits

Unlike a traditional VPN, Tor doesn’t just relay your connection through a single location. Instead, your data is relayed and transferred through a number of locations. This is called a Tor Circuit. You can view your current circuit by pressing the lock icon on the left of your address bar.

Tor Circuit is shown when clicked on the circuit button on the browser address bar.
Tor Circuit

7. Use Onion services

Instead of using normal websites, you can use Onion services, which are part of the Tor network. Some websites are available in this form. They use a .onion address. A few of them are:

  • The New York Times
  • DuckDuckGo
  • ProtonMail

I must emphasize: Beware of the shady and illegal ones, most of them are available only as a .onion service.

You can read more much Tor browsing tips in a blog post by Whonix.

Do you like using Tor?

I hope this article helps you in installing the Tor browser on Ubuntu and other Linux distributions and thus enabling you to protect your privacy.

Speaking of privacy, VPNs are another popular tool for protecting privacy. Switzerland-based privacy company ProtonMail provides an excellent secure and private VPN service, ProtonVPN (affiliate link). If you are not choosing Tor Browser, you can use these solutions paired with other browsers.

What other privacy-related tools do you use?

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.