How to Install Tor Browser on Rocky Linux 8

Tor, also known as The Onion Router, is open-source, free software that enables anonymous communication when using online services such as web surfing. The Tor network directs the Internet traffic through an accessible worldwide volunteer overlay network with over six thousand relays and continues to grow. Many users want to find more ways to keep their information and activities anonymous or at least as private as possible, which has led to Tor Browser growing quite popular in recent years as it conceals a user’s location and usage from anyone conducting network surveillance or traffic analysis.

The Tor network is intended to protect the personal privacy of users and their freedom and ability from conducting communication without having their activities monitored, and data were taken without their consent and used to sum it up.

In the following tutorial, you will learn how to install the latest Tor Browser on Rocky Linux 8.

Advertisement

Prerequisites

  • Recommended OS: Rocky Linux 8.+.
  • User account: A user account with sudo or root access.

Update Operating System

Update your Rocky Linux operating system to make sure all existing packages are up to date:

sudo dnf upgrade --refresh -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@rockylinux ~]$ sudo whoami
root

To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Rocky Linux.

To use the root account, use the following command with the root password to log in.

su

Install Tor Browser with DNF Tor RPM (Recommended)

The easiest and best way to install and keep Tor Browser up to date in the options listed in the tutorial is to create and install Tor Browser from the official repository. This will mean you will be on the latest stable version at all times, and you won’t need to manually download and install future updates that can be tedious and harder for novice and newer users of Linux.

First, install the dependency EPEL repository.

sudo dnf install epel-release -y

Next, create a repository file for Tor using any text editor.

sudo nano /etc/yum.repos.d/tor.repo

Now add the following into the file.

[tor]
name=Tor for Enterprise Linux $releasever - $basearch
baseurl=https://rpm.torproject.org/centos/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=https://rpm.torproject.org/centos/public_gpg.key
cost=100

Save the file (CTRL+O), then exit (CTRL+X).

Now update your repository listing to reflect the new addition and install Tor Browser.

sudo dnf update
sudo dnf install tor

Example output:

How to Install Tor Browser on Rocky Linux 8

Type “Y,” then press the “ENTER BUTTON” to proceed with the installation.

Note you will be prompted to import the GPG key during the installation twice. Type “Y” when the prompt appears.

Confirm the installation by checking the Tor build version.

tor -v

Example output:

Oct 11 18:28:09.813 [notice] Tor 0.4.6.7 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1g, Zlib 1.2.11, Liblzma 5.2.4, Libzstd 1.4.4 and Glibc 2.28 as libc.

Now Tor Brower will be visible in your Activities > Show Applications > Tor Browser.

How to Install Tor Browser on Rocky Linux 8
Advertisement

Install Tor Browser Manually

The second option of installation is to install Tor Browser using the latest archive from the downloads page. At the time of this tutorial, version 10.5.4 is the latest; however, in the future, this will change, be sure to get the updated version.

Install wget Package

You will need to have wget installed for this tutorial. To find out if you have it, use the following:

wget --version

Example output if you have it installed:

[joshua@localhost ~]$ wget --version
GNU Wget 1.19.5 built on linux-gnu.

By default, Rocky Linux 8 should have this installed. If missing, use the following command:

sudo dnf install wget -y

Note, installing wget without checking will not harm either.

Download Tor Browser Archive

The next step is to use the wget command to download the latest .tar.xz link as follows:

Example only:

wget https://www.torproject.org/dist/torbrowser/10.5.4/tor-browser-linux64-10.5.4_en-US.tar.xz

Note, the above command is an example only. Make sure to check for the latest version.

Once you have downloaded the installation archive, extract it using:

Example only:

tar -xvJf tor-browser-linux64-10.5.4_en-US.tar.xz

Install Tor Browser

Now, CD into the directory with:

cd tor-browser_en-US

To start Tor Browser and set up configuration installation, use the following command:

./start-tor-browser.desktop 

Note, this will launch Tor Browser. However, you will not see it in your Show Applications menu. To install the Tor Browser icon, you will need to add –register-app to the end of the command as follows:

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

Example output:

[joshua@localhost tor-browser_en-US]$ ./start-tor-browser.desktop --register-app
Launching './Browser/start-tor-browser --detach --register-app'...
Tor Browser has been registered as a desktop app for this user in ~/.local/share/applications/

Now Tor Brower will be visible in your Activities > Show Applications > Tor Browser.

How to Install Tor Browser on Rocky Linux 8
Advertisement

How to Configure Tor Browser

On the first launch, you will come across the following window as below:

How to Install Tor Browser on Rocky Linux 8

Most users would use Connect by default; however, Tor Network settings can use proxy settings for countries such as China, Egypt, and Turkey, to name a few where using such services is prohibited. Please make sure you are not breaking any laws using this. Bypassing in some of the said countries could get you into some severe trouble possibly.

How to Install Tor Browser on Rocky Linux 8

In the tutorial, the method used was to connect straight to the network as most users would. When you click connect, depending on your location, it may take 2 to 10 seconds to connect to the network, and you will see this message while connecting:

establishing a connection tor browser network rocky linux 8 | LinuxCapable

Once connected, you will get the following page:

How to Install Tor Browser on Rocky Linux 8

Congratulations, you have connected to the Tor Network through your Tor Browser.

Tor Onion Services

When using Tor Browser, instead of using regular websites, you can elect to use the part of the Online services of the Tor Network. The websites, however, must be available in this format, and if they are, they use a .onion address.

For those unfamiliar with onion services, they are anonymous network services that are exposed over the Tor network. In contrast to conventional Internet services, onion services are private, generally not indexed by search engines, and use self-certifying domain names long and complex for humans to read.

Some notable sites using .onion services are:

To see more services visit the wiki page List of Tor onion services.

Comments and Conclusion

In the tutorial, you have learned how to download Tor Browser from the source, install and add the icon to your application menu. Tor Browser is an excellent option for users wanting to keep their internet activities out of the hands of advertisers, ISPs, and websites. The other benefit of using Tor Browser is that it can help in most cases getting around censorship restrictions in their country, people looking to hide their IP address, or anyone else who doesn’t want their browsing habits linked to them.

The downsides of using Tor is it is going to load pages a lot more slowly than a standard browser like Chrome or Firefox when using the Tor Network, along with many websites and web services choose to block the use of Tor so you may be limited browsing the web depending on what you visit and use daily.

Please note, using Tor should not be an incentive or an option to use the Dark web or services that violate the country’s laws in any country.

Subscribe
Notify of
1 Comment
Inline Feedbacks
View all comments
Zyn
Guest
Sunday, August 15, 2021 9:39 am

Thanks for the guide.

adplus-dvertising
1
0
Would love your thoughts, please comment.x
()
x