In this article, we are going to learn how to install the tor browser on Ubuntu 22.04. Tor Browser is a famous browser if you want your privacy over the internet. No one can trace your daily use like what are you doing, what website you visit etc. Ubuntu provides
Tor Browser is open-source, so we will install Tor on Ubuntu with a few steps and use it with our needs. So there is two way to install Tor on Ubuntu
- Install the Tor Browser on Ubuntu using apt in the terminal.
- Download the package and run Tor Browser manually in Ubuntu.
In this article, we are going to use the first method (Recommended)
Install Tor Browser on Ubuntu using apt in Terminal
Now, Let’s start with how to install and run the Tor Browser in Ubuntu using the terminal.
Update your Ubuntu
So, first of all, we have to update the Ubuntu with the following command.
$ sudo apt update
Installing tor browser
You can install tor browser using the following command:
$ sudo apt install tor torbrowser-launcher
techdhee@ubuntu:~|⇒ sudo apt install tor torbrowser-launcherReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneThe following additional packages will be installed: libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 python3-gpg python3-packaging python3-pyqt5 python3-pyqt5.sip python3-socks tor-geoipdb torsocksSuggested packages: mixmaster socat apparmor-utils nyx obfs4proxyThe following NEW packages will be installed: libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 python3-gpg python3-packaging python3-pyqt5 python3-pyqt5.sip python3-socks tor tor-geoipdb torbrowser-launcher torsocks0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.Need to get 9,691 kB of archives.After this operation, 42.4 MB of additional disk space will be used.Do you want to continue? [Y/n] Get:1 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libqt5xml5 amd64 5.15.3+dfsg-2 [124 kB]Get:2 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libqt5designer5 amd64 5.15.3-1 [2,832 kB]Get:3 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libqt5sql5 amd64 5.15.3+dfsg-2 [123 kB]Get:4 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libqt5help5 amd64 5.15.3-1 [162 kB]Get:5 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libqt5printsupport5 amd64 5.15.3+dfsg-2 [214 kB]Get:6 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libqt5sql5-sqlite amd64 5.15.3+dfsg-2 [53.0 kB]Get:7 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libqt5test5 amd64 5.15.3+dfsg-2 [152 kB]Get:8 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 python3-gpg amd64 1.16.0-1.2ubuntu4 [215 kB]Get:9 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 python3-packaging all 21.3-1 [30.7 kB]Get:10 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pyqt5.sip amd64 12.9.1-1build1 [61.1 kB]Get:11 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pyqt5 amd64 5.15.6+dfsg-1ubuntu3 [2,822 kB]Get:12 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-socks all 1.7.1+dfsg-1 [22.4 kB]Get:13 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 tor amd64 0.4.6.10-1 [1,665 kB]Get:14 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 torbrowser-launcher amd64 0.3.3-6ubuntu1 [50.0 kB]Get:15 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 torsocks amd64 2.3.0-3 [62.5 kB]Get:16 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 tor-geoipdb all 0.4.6.10-1 [1,103 kB]Fetched 9,691 kB in 4s (2,691 kB/s) Selecting previously unselected package libqt5xml5:amd64.(Reading database ... 168846 files and directories currently installed.)Preparing to unpack .../00-libqt5xml5_5.15.3+dfsg-2_amd64.deb ...Unpacking libqt5xml5:amd64 (5.15.3+dfsg-2) ...Selecting previously unselected package libqt5designer5:amd64.Preparing to unpack .../01-libqt5designer5_5.15.3-1_amd64.deb ...Unpacking libqt5designer5:amd64 (5.15.3-1) ...Selecting previously unselected package libqt5sql5:amd64.Preparing to unpack .../02-libqt5sql5_5.15.3+dfsg-2_amd64.deb ...Unpacking libqt5sql5:amd64 (5.15.3+dfsg-2) ...Selecting previously unselected package libqt5help5:amd64.Preparing to unpack .../03-libqt5help5_5.15.3-1_amd64.deb ...Unpacking libqt5help5:amd64 (5.15.3-1) ...Selecting previously unselected package libqt5printsupport5:amd64.Preparing to unpack .../04-libqt5printsupport5_5.15.3+dfsg-2_amd64.deb ...Unpacking libqt5printsupport5:amd64 (5.15.3+dfsg-2) ...Selecting previously unselected package libqt5sql5-sqlite:amd64.Preparing to unpack .../05-libqt5sql5-sqlite_5.15.3+dfsg-2_amd64.deb ...Unpacking libqt5sql5-sqlite:amd64 (5.15.3+dfsg-2) ...Selecting previously unselected package libqt5test5:amd64.Preparing to unpack .../06-libqt5test5_5.15.3+dfsg-2_amd64.deb ...Unpacking libqt5test5:amd64 (5.15.3+dfsg-2) ...Selecting previously unselected package python3-gpg.Preparing to unpack .../07-python3-gpg_1.16.0-1.2ubuntu4_amd64.deb ...Unpacking python3-gpg (1.16.0-1.2ubuntu4) ...Selecting previously unselected package python3-packaging.Preparing to unpack .../08-python3-packaging_21.3-1_all.deb ...Unpacking python3-packaging (21.3-1) ...Selecting previously unselected package python3-pyqt5.sip.Preparing to unpack .../09-python3-pyqt5.sip_12.9.1-1build1_amd64.deb ...Unpacking python3-pyqt5.sip (12.9.1-1build1) ...Selecting previously unselected package python3-pyqt5.Preparing to unpack .../10-python3-pyqt5_5.15.6+dfsg-1ubuntu3_amd64.deb ...Unpacking python3-pyqt5 (5.15.6+dfsg-1ubuntu3) ...Selecting previously unselected package python3-socks.Preparing to unpack .../11-python3-socks_1.7.1+dfsg-1_all.deb ...Unpacking python3-socks (1.7.1+dfsg-1) ...Selecting previously unselected package tor.Preparing to unpack .../12-tor_0.4.6.10-1_amd64.deb ...Unpacking tor (0.4.6.10-1) ...Selecting previously unselected package torbrowser-launcher.Preparing to unpack .../13-torbrowser-launcher_0.3.3-6ubuntu1_amd64.deb ...Unpacking torbrowser-launcher (0.3.3-6ubuntu1) ...Selecting previously unselected package torsocks.Preparing to unpack .../14-torsocks_2.3.0-3_amd64.deb ...Unpacking torsocks (2.3.0-3) ...Selecting previously unselected package tor-geoipdb.Preparing to unpack .../15-tor-geoipdb_0.4.6.10-1_all.deb ...Unpacking tor-geoipdb (0.4.6.10-1) ...Setting up python3-socks (1.7.1+dfsg-1) ...Setting up libqt5sql5:amd64 (5.15.3+dfsg-2) ...Setting up libqt5printsupport5:amd64 (5.15.3+dfsg-2) ...Setting up libqt5xml5:amd64 (5.15.3+dfsg-2) ...Setting up python3-packaging (21.3-1) ...Setting up python3-gpg (1.16.0-1.2ubuntu4) ...Setting up python3-pyqt5.sip (12.9.1-1build1) ...Setting up tor (0.4.6.10-1) ...Something or somebody made /var/lib/tor disappear.Creating one for you again.Something or somebody made /var/log/tor disappear.Creating one for you again.Created symlink /etc/systemd/system/multi-user.target.wants/tor.service → /lib/systemd/system/tor.service.Setting up libqt5test5:amd64 (5.15.3+dfsg-2) ...Setting up torsocks (2.3.0-3) ...Setting up libqt5sql5-sqlite:amd64 (5.15.3+dfsg-2) ...Setting up libqt5designer5:amd64 (5.15.3-1) ...Setting up libqt5help5:amd64 (5.15.3-1) ...Setting up tor-geoipdb (0.4.6.10-1) ...Setting up python3-pyqt5 (5.15.6+dfsg-1ubuntu3) ...Setting up torbrowser-launcher (0.3.3-6ubuntu1) ...Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...Processing triggers for hicolor-icon-theme (0.17-2) ...Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...Processing triggers for libc-bin (2.35-0ubuntu3) ...Processing triggers for man-db (2.10.2-1) ...Processing triggers for mailcap (3.70+nmu1ubuntu1) ...techdhee@ubuntu:~|⇒
Congratulations, your installation is complete without any errors. If you get any error here, you can follow the second method to use Tor Browser on Ubuntu 22.04.
Open the Tor Browser
Now after installing the tor browser launcher we have to open the tor browser you can open the Tor Browser in Ubuntu by typing the following command in the terminal:
$ sudo torbrowser-launcher
And you can search in the Activities menu bar as Tor, and you will get two options you have to open the Tor Browser.
After running the command or double click on the Tor Browser icon you will get a new window on your screen:
Downloading Tor Browser for the first time
You have to wait for some time for downloading the tor browser the first time, and it depends on your internet speed.
Connect to Tor
Now you have to click on “Connect” to connect to the Tor network, it automatically connects you to the Tor network, and you can use the Tor Browser in Ubuntu.
Use Your Tor Browser
Now you can use your Tor Browser in Ubuntu, and now you are able to use .onion website, and also you can host your own website using the Tor network.
Video
You can watch this video on how to install the tor browser in Ubuntu step by step without any errors.
Conclusion
So this is the way to install the tor browser on Ubuntu 22.04 LTS. You can also install the tor browser on other Debian-based distros like Debian, Kali Linux, MX Linux, etc. And you can now browse the web securely and privately, and access sites your local internet service provider may have blocked.
If you have any questions, feel free to leave a comment.
Related Posts: