
To workaround it, open ‘terminal’ and run command to edit the ‘ _init_.py‘ (2 underscores before & after ‘init’) file: sudo gedit /usr/lib/python3/dist-packages/torbrowser_launcher/_init_.py

UPDATE: Due to package bug in Ubuntu 22.04, it may refuse to launch. If everything goes OK, let’s now install the Tor web browser.ġ.) Simply open terminal and run command: sudo apt install torbrowser-launcher Or update it, if an old version was installed, via Software Updaterĥ.) Once installed, you can check Tor version and if it’s running via commands: tor -version Downloads/-keyring*.debĤ.) Finally, refresh package cache and install Tor via 2 commands: sudo apt update

Then install it via double-click, gdebi, or by running command in terminal: sudo apt install. As an alternative, download the latest keyring. NOTE 2: For Linux Mint and other Ubuntu based systems, replace $(lsb_release -sc) in the command with the Ubuntu code-name (e.g, focal, bionic, jammy) that your system based on.ģ.) The keyring updates regularly and there’s no valid command to install it so far. NOTE 1: For arm64 (e.g., Rasperry Pi), 32-bit Ubuntu 18.04/16.04, you have to remove from the command.

Type user password (no asterisk feedback) for sudo prompt and hit Enter.Ģ.) Run command to add the Tor repository: sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt//tor-project.list' Then run command to enable the usage of https in sources.list: sudo apt install apt-transport-https Tor has an official apt repository that supports for all current Ubuntu and Debian releases.ġ.) Open terminal from system application launcher. How to Install Tor via the Official Apt Repository: While Tor in Ubuntu main repositories is always old, here’s how to install the LATEST version and receive updates via its apt repository. Tor, The Onion Router, is a free and open-source service enables people to browser the internet anonymously. UPDATE May 2022: This tutorial is tested and works in Ubuntu 22.04 LTS. It should also work in Ubuntu 18.04 and Ubuntu 16.04. This is a beginner’s guide shows how to install and setup Tor service and Tor Browser in Ubuntu 20.10, Ubuntu 20.04, Linux Mint 20.
