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 -yFedora
sudo dnf install torbrowser-launcher -yArch Linux / Manjaro
sudo pacman -S torbrowser-launcherOnce installed, open your application menu and launch Tor Browser, or run the following command in your terminal:
torbrowser-launcherMethod 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 -yRun the browser with:
flatpak run com.github.micahflee.torbrowser-launcherMethod 3: Install Tor Browser Manually (Tarball)
For a portable installation directly from the source:
Download the latest Linux tarball from the official Tor Project website (
tor-browser-linux64-*.tar.xz).Open your terminal and navigate to your download directory:
cd ~/DownloadsExtract the archive:
tar -xf tor-browser-linux-*.tar.xzMove into the extracted directory:
cd tor-browser*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 -yFedora
sudo dnf install tor -yArch Linux
sudo pacman -S torManaging the Tor Service
- Start Tor:
sudo systemctl start tor - Enable on Boot:
sudo systemctl enable tor - Check Status:
sudo systemctl status tor
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.