3 ways to install Tor Browser on Linux (Ubuntu, Fedora, openSUSE, etc.)

Tor Browser, Formerly known as the Tor Browser Bundle, is a web browser that protects your privacy when you are online. It is a modified version of Mozilla Firefox ESR (Extension Supported Version), which includes TorButton, TorLauncher, NoScript and HTTPS Everywhere Firefox extensions, and Tor Agent.
The Tor browser will automatically start the Tor background process and route traffic through the Tor network; sensitive data such as cookies and browsing history will be deleted when the browser is closed.
Its main purpose is to circumvent censorship by hiding users’ identities and their online activities from surveillance and traffic analysis. This is done by using thousands of servers (Tor relays), multiple layers of encryption, isolating every website you visit, so that third-party trackers cannot track you, preventing someone from monitoring your connection knowing that you are visiting Website and making it difficult to fingerprint based on your device and browser information.
Use it to visit sites that may be blocked in your country or to prevent someone from watching your Internet connection to learn about the sites you visit, but remember that nothing is foolproof! Anyone monitoring your browsing habits can still see that you are using Tor, so keep this in mind before using it. This article describes how to install Tor Browser on Linux, and provides 3 options (2 of them use Tor Browser Launcher, see below for details). For this reason, don’t confuse Tor Browser with Tor Client. If you want to use Tor with other applications, check out: How to install and use Tor (client) as a proxy in Ubuntu or Linux Mint.

Option 1: Install Tor Browser from the Linux distribution repository

Tor Browser is not included directly in the repository, but a package is provided by many Linux distributions Tor Browser Launcher, A tool to download and install Tor Browser securely on Linux.
Tor Browser Launcher downloads and installs the latest stable version of Tor Browser in your language and your computer architecture, verifies the browser’s signature to ensure that the downloaded version has been encrypted and signed by the Tor developer and has not been tampered with, and adds The Tor Browser and Tor Browser Launcher are set to the application menu / launcher, while also including the Tor Browser AppArmor profile.
It is worth mentioning that the Tor Browser installed through the Tor Browser Launcher will automatically update itself, so as long as the Tor developer releases the update, you can get the update. Install Tor Browser from the repository (with the help of Tor Browser Launcher):

  • Debian, Ubuntu, Linux Mint, Pop! _OS and other Linux distributions based on Debian or Ubuntu:
sudo apt install torbrowser-launcher
  • Fedora:
sudo dnf install torbrowser-launcher
  • openSUSE:
sudo zypper install torbrowser-launcher
  • Solus OS:
sudo eopkg install torbrowser-launcher

On Arch Linux (and Manjaro), Tor Browser is not in the repository, but you can install it via AUR, and there are two options: install Tor Browser Install directly (U.S. languages ​​only) or via Tor Browser Launcher.
If you are using another Linux distribution, search for “tor browser” or “tor browser launcher” in the repository.
After installing the Tor Browser Launcher, open the application menu / launcher and launch the Tor Browser. When running for the first time, it will automatically download and unzip the latest version of Tor Browser in your language, then launch Tor Browser. Subsequent runs will launch Tor Browser directly.
After the new version is released, Tor Browser will automatically prompt you to update the software. When this happens, the Torbutton icon will display a small yellow triangle. In some cases, Tor Browser Launcher May fail Download Tor Browser or verify its signature (“Signature verification failed” error). In this case, you can choose to use the Flathub Tor browser launcher (option 2 below), or you can manually download and install the Tor browser binary (see option 3 below). For example, I tried to install Tor Browser via Tor Browser Launcher on Ubuntu 16.04, but failed with a “Signature Verification Failed” error, but using the Flathub Tor Browser Launcher package works perfectly (Ubuntu package may fail because it is An ancient version).

Option 2: Install Tor Browser from Flathub

Flathub added Last week, the Tor Browser Launcher has been in an ever-increasing number of repositories, making it easy to install on any Linux distribution that supports Flatpak. This has the advantage of supporting a large number of Linux distributions, while also providing the latest Tor Browser Launcher versions for Linux distributions, which contain older versions in their repositories that are buggy or no longer function. I have already introduced the Tor Browser Launcher above, so please read it carefully to understand its features.
Before Tor Browser is installed through Flathub, you need to set up Flatpak and Flathub on your system. A kind Quick settings page The tool is provided with instructions for many Linux distributions including Ubuntu (and Kubuntu, Pop! _OS or Elementary OS), Fedora, RHEL, openSUSE, Arch Linux, Debian, CentOS, Gentoo, Mageia, and more. Linux Mint 19 and later enables Flathub by default.
Next, open your software application and install the Tor Browser Launcher. Not all software stores support the installation of the Flatpak application, in which case you can install the Tor Browser Launcher from Flathub using only the following command (as mentioned earlier, it requires Flatpak and Flathub to be set up on the system!):

flatpak install flathub com.github.micahflee.torbrowser-launcher

After installing the Tor Browser Launcher from Flathub, open the application menu / launcher and launch the Tor Browser. When running for the first time, it will automatically download and unzip the latest version of Tor Browser in your language, then launch Tor Browser. Subsequent runs will launch Tor Browser directly. Related files: OnionShare 2 secure file sharing tool adds anonymous Dropbox

Option 3: Manually download and install the Tor Browser binary (and automatically create menu items)

The Tor project provides Tor Browser precompiled binaries for all supported operating systems On this page -Click the Tux logo to download the latest Tor Browser for Linux. You may also Visit this page Download Tor Browser for different architectures or different languages. You might want Verify Tor Browser Signature After downloading. The Tor Browser Launcher (the other 2 options) does this for you automatically, but in this case you will have to do it manually.
Extract the files you downloaded from the Tor Project website and copy the extracted files tor-browser_en-US Folder (where en-US Is the language of the Tor browser, so you may vary by language; the folder should contain a start-tor-browser.desktop File and a Browser Subfolder) to the location where you want to run Tor Browser. I recommend copying it to a directory where your users have read / write access so that the Tor browser can automatically update itself. For example, you can copy it to the Apps folder in your home directory.
You can now make Tor Browser automatically add itself to the desktop’s application menu. Open a terminal, navigate to the folder where you copied Tor Browser from the terminal, start-tor-browser.desktop File executable and then use --register-app Flag, so it adds Tor browser menu items to your application menu:

cd /path/to/tor-browser_en-US
./start-tor-browser.desktop --register-app

You need to replace /path/to/tor-browser_en-US And the path to the Tor browser folder (which contains start-tor-browser.desktop File and a Browser subfolder). It’s worth noting that you cannot run directly start-tor-browser.desktop With the full path, you need to run it in the parent folder of the file.
For example, if your Tor Browser folder is named tor-browser_en-USAnd then place it in Apps Put the folder in your home directory, you will run the following command to make start-tor-browser.desktop File the executable, then add Tor Browser to the desktop’s application menu:

cd ~/Apps/tor-browser_en-US/
./start-tor-browser.desktop --register-app

After that, the Tor browser will appear in your application menu, so you can launch it from there with a single click.