Website Vidya
Linux & ServersStep-by-Step Guide

How to Install Tor Browser on Ubuntu 24.04

Learn how to install Tor Browser on Ubuntu 24.04 LTS using official tarball binaries, GPG signature verification, and Tor Browser Launcher for privacy.

RR
Rajesh RayLead Systems Educator
Published:
6 min read
PDF Cheat Sheet
How to Install Tor Browser on Ubuntu 24.04
AI Executive SummaryWebsiteVidya AI

6 min read

Learn how to install Tor Browser on Ubuntu 24.04 LTS using official tarball binaries, GPG signature verification, and Tor Browser Launcher for privacy.

Key Highlights
  • Prerequisites and Supported Releases
  • Method 1: Installing via Official Tor Project Binary Tarball (Recommended)
  • Step 2: Importing the Official Tor Browser Developers Signing Key
Grounded in full engineering runbookWebsiteVidya AI Engine

Digital surveillance, commercial fingerprinting, and online tracking make privacy-conscious web browsing critical for journalists, security researchers, and everyday Internet users. When you install tor browser on ubuntu 24.04, you deploy a hardened web browser based on Mozilla Firefox Extended Support Release (ESR) engineered specifically to defend against browser fingerprinting, state-level censorship, and traffic analysis.

Tor Browser encrypts your network traffic in three layers and routes it through thousands of volunteer-operated relays across the globe. Each relay knows only the identity of the node immediately before and after it, ensuring that neither websites nor internet service providers (ISPs) can correlate your physical location or browsing activity.

In this guide, you will learn two dependable methods to install Tor Browser on Ubuntu 24.04 LTS: downloading the official standalone portable tarball directly from the Tor Project with strict GPG cryptographic verification, and installing the automated torbrowser-launcher package from Ubuntu's universe repositories. You will also learn how to configure Pluggable Transports to bypass strict firewalls.

Advertisement

Prerequisites and Supported Releases

This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat) & Ubuntu 22.04 LTS. The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.

Before proceeding, ensure you have the following requirements satisfied:

  • A desktop or laptop running Ubuntu 24.04 LTS (64-bit architecture).
  • A standard user account with optional sudo privileges (root access is not required for tarball installs).
  • Access to a command-line terminal and active Internet connectivity.
  • Basic familiarity with downloading files and verifying cryptographic hashes.

The most secure and privacy-focused installation method is downloading the portable binary archive directly from the official Tor Project website. This avoids third-party repository delays and ensures immediate access to upstream security releases.

First, ensure that curl, wget, xz-utils, and gnupg are installed on your machine so that you can download archives and verify cryptographic signatures.

Advertisement
# Refresh package repository index
sudo apt update

# Install foundational download and signature verification tools
sudo apt install -y curl wget xz-utils gnupg

Step 2: Importing the Official Tor Browser Developers Signing Key

To guarantee that the downloaded binary has not been tampered with or corrupted, verify its GPG signature against the Tor Browser Developers signing key (0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290).

Import the official signing key into your user's GPG keyring from the standard Ubuntu keyserver.

# Import the Tor Browser Developers GPG signing key
gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]

Step 3: Downloading Tor Browser Archive and Detached Signature

Download the latest stable Linux 64-bit release archive (.tar.xz) along with its accompanying detached cryptographic signature file (.tar.xz.asc).

You can fetch these directly from the Tor Project distribution mirrors using wget.

Advertisement
# Set the desired Tor Browser version
TOR_VER="13.5.7"

# Navigate to your Downloads directory
cd ~/Downloads

# Download the Tor Browser tarball
wget https://www.torproject.org/dist/torbrowser/${TOR_VER}/tor-browser-linux-x86_64-${TOR_VER}.tar.xz

# Download the corresponding detached cryptographic signature
wget https://www.torproject.org/dist/torbrowser/${TOR_VER}/tor-browser-linux-x86_64-${TOR_VER}.tar.xz.asc

Step 4: Cryptographically Verifying the Downloaded Archive

Before extracting the tarball, execute the gpg --verify command against the signature file and the archive. Cryptographic verification ensures complete binary authenticity.

The output must display Good signature from "Tor Browser Developers (signing key) <[email protected]>".

# Verify the cryptographic signature of the downloaded tarball
gpg --verify tor-browser-linux-x86_64-${TOR_VER}.tar.xz.asc tor-browser-linux-x86_64-${TOR_VER}.tar.xz

Step 5: Extracting Archive and Registering Desktop Launcher

Once verification succeeds, extract the compressed archive into your local user directory (~/.local/share/tor-browser or ~/tor-browser).

After extracting, navigate into the directory and execute ./start-tor-browser.desktop --register-app to register Tor Browser in your GNOME application menu with icons and desktop shortcuts.

# Extract the archive into ~/.local/share/
mkdir -p ~/.local/share
tar -xf tor-browser-linux-x86_64-${TOR_VER}.tar.xz -C ~/.local/share/

# Navigate to the extracted folder
cd ~/.local/share/tor-browser

# Register the desktop application launcher
./start-tor-browser.desktop --register-app

# Clean up downloaded archives
rm -f ~/Downloads/tor-browser-linux-x86_64-${TOR_VER}.tar.xz*

Method 2: Installing via Tor Browser Launcher Utility

Alternatively, Ubuntu 24.04 provides the torbrowser-launcher package in its universe repository. This tool automatically downloads the latest official Tor Browser, verifies GPG signatures, and maintains application shortcuts.

Install torbrowser-launcher using the standard APT package manager.

# Install torbrowser-launcher from Ubuntu universe repository
sudo apt update
sudo apt install -y torbrowser-launcher

Step 6: Launching and Connecting to the Tor Network

Launch Tor Browser from your GNOME application menu by pressing Super, typing Tor Browser, and pressing Enter. Alternatively, launch it from your terminal using torbrowser-launcher or ~/.local/share/tor-browser/start-tor-browser.desktop.

When the connection screen appears, you have two options:

1. Connect: Click the purple Connect button if you are on an open Internet connection. Tor Browser will establish a connection through three relays and open the welcome screen.

2. Configure Connection (Bridges): If you are in a location with strict network firewalls or censorship that blocks known Tor relay IP addresses, toggle Tor is censored in my country and select a built-in bridge (such as obfs4 or snowflake).

Step 7: Configuring Security Levels and Verifying Anonymity

Tor Browser includes a shield icon in the upper right toolbar that configures security levels:

• Standard: All browser features and JavaScript are enabled (default).

• Safer: Disables JavaScript on non-HTTPS sites, disables some fonts and math symbols, and makes HTML5 media click-to-play.

• Safest: Disables JavaScript everywhere by default and blocks many media codecs and fonts.

Verify that your traffic is routing properly through the onion network by visiting https://check.torproject.org. The page should display: Congratulations. This browser is configured to use Tor.

Step 8: Completely Uninstalling Tor Browser

Because the official Tor Browser binary is portable and self-contained, removing it requires simply deleting its directory and unregistering the desktop entry.

Run the following commands to remove all traces of Tor Browser from your system.

# Remove portable installation directory and desktop shortcuts
rm -rf ~/.local/share/tor-browser
rm -f ~/.local/share/applications/start-tor-browser.desktop

# If installed via torbrowser-launcher, remove APT package
sudo apt purge -y torbrowser-launcher
sudo apt autoremove -y
rm -rf ~/.local/share/torbrowser

Troubleshooting and Common Errors

When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:

Tor Browser refuses to start with error: 'The Tor Browser should not be run as root.'

Resolution: Running Tor Browser as the root superuser breaks sandboxing and compromises your security. Always execute Tor Browser as a standard, non-privileged desktop user.

Tor Browser hangs indefinitely at 'Connecting to Tor...'

Resolution: Your ISP, network administrator, or national firewall may be blocking direct connections to public Tor relays. Click Configure Connection, check Use a bridge, and select snowflake or request a bridge via email.

GPG verification fails with 'No public key' error

Resolution: Refresh keys from the keyserver using gpg --keyserver hkps://keys.openpgp.org --recv-keys 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290 before rerunning gpg --verify.

Security Best Practices and Hardening

Never install unverified browser add-ons or extensions into Tor Browser; doing so destroys anti-fingerprinting protections and exposes your real IP address.

Do not resize the Tor Browser window from its default dimensions if maximum anonymity is required, as custom window resolutions facilitate browser fingerprinting.

Avoid opening downloaded documents (such as PDFs or Word files) while online outside of Tor Browser, as embedded macros can bypass the Tor proxy and contact external servers directly.

Always verify GPG signatures on downloaded binary tarballs to protect against malicious network interception and mirror compromise.

Deepen your Linux system administration skills with our related production-tested guides:

Authoritative References and Official Documentation

Frequently Asked Questions

Quick answers to common questions and configurations

3 FAQs
Yes. In the vast majority of countries worldwide, using Tor Browser and the Tor network for private web browsing is entirely legal.
No. Tor Browser only routes web traffic originating from inside the Tor Browser window through the Tor network. Other applications (like Slack, Discord, or games) continue using your direct Internet connection.
Because your traffic is encrypted in three layers and routed across three volunteer-operated relay nodes globally, network latency is naturally higher than direct unencrypted web browsing.
RR
Written byVerified Author

Rajesh Ray

I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.

SPAM-FREE MODERATED DISCOURSE

Join the Conversation & Perspective

Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.

AT
MP
JV
+2

No comments on this guide yet. Be the first to share your thoughts or ask a question!

Recommended Reading10 Guides

Related Technical Guides

Tested runbooks, server administration walkthroughs, and troubleshooting guides

Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout