How to Install Tor on Linux

This guide provides step-by-step instructions for installing the Tor network service and the standalone Tor Browser on major Linux distributions, including Ubuntu, Debian, Fedora, and Arch Linux. Whether you need the command-line daemon for routing system traffic or the graphical Tor Browser for anonymous web browsing, the instructions below cover the fastest and most secure installation methods available.


Method 1: Install Tor Browser via Package Manager

Most modern Linux distributions include a helper package called torbrowser-launcher in their official repositories. This utility downloads, verifies cryptographic signatures, and installs the latest version of the Tor Browser automatically.

Ubuntu / Debian / Linux Mint

sudo apt update
sudo apt install torbrowser-launcher -y

Fedora

sudo dnf install torbrowser-launcher -y

Arch Linux / Manjaro

sudo pacman -S torbrowser-launcher

Once installed, open your application menu and launch Tor Browser, or run the following command in your terminal:

torbrowser-launcher

Method 2: Install Tor Browser via Flatpak (Universal)

If your distribution has Flatpak enabled, you can install the official Tor Browser Flatpak directly from Flathub:

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

Run the browser with:

flatpak run com.github.micahflee.torbrowser-launcher

Method 3: Install Tor Browser Manually (Tarball)

For a portable installation directly from the source:

  1. Download the latest Linux tarball from the official Tor Project website (tor-browser-linux64-*.tar.xz).

  2. Open your terminal and navigate to your download directory:

    cd ~/Downloads
  3. Extract the archive:

    tar -xf tor-browser-linux-*.tar.xz
  4. Move into the extracted directory:

    cd tor-browser*
  5. Register the desktop icon and start the application:

    ./start-tor-browser.desktop --register-app

Method 4: Install the Tor Standalone Background Service (CLI)

If you only need the Tor proxy service for routing application traffic or hosting onion services without the graphical browser:

Ubuntu / Debian

sudo apt update
sudo apt install tor -y

Fedora

sudo dnf install tor -y

Arch Linux

sudo pacman -S tor

Managing the Tor Service

By default, the Tor daemon runs a SOCKS5 proxy on 127.0.0.1:9050. You can configure local applications to route their network traffic through this port for anonymous connections.