In this guide, you will learn How To Install Tor Browser on Centos 7.
Introduction To Tor Browser
The Tor (the onion routing) browser is a web browser designed for anonymous web surfing and protection against traffic analysis. Although Tor is often associated with the darknet and criminal activity, law enforcement officials, reporters, activists, whistleblowers, and ordinary security-conscious individuals often use the browser for legitimate reasons.
The Tor browser works by using a technology known as onion routing. The onion router is a peer-to-peer (P2P) overlay network that enables users to browse the internet anonymously. Onion routing uses multiple layers of encryption to conceal both the source and destination of information sent over the network. It is designed so no one can monitor or censor online communication.
Once a user installs Tor, the browser uses Tor servers to send data to an exit node, which is the point at which data leaves the network. Once this data has been sent, it is encrypted multiple times before being sent to the next node. Repeating this process makes it difficult to trace the data back to the original source. In addition to encryption, the Tor browser does not track browsing history or store cookies.
Steps To Install Tor Web Browser on Centos 7
To complete this guide, you must log in to your server as a non-root user with sudo privileges. To do this, you can follow our guide the Initial Server Setup with Centos 7.
Create Yum Repository For Tor Web Browser
The Tor development team provides an official yum repository for the Tor browser installation. You can find the latest available packages by visiting rpm.torproject.org.
First, you need to install the Epel repository on Centos 7:
# Sudo yum install epel-release -y
Now, create a new file /etc/yum.repos.d/tor.repo with your favorite text editor, here we use vi:
sudo vi /etc/yum.repos.d/tor-browser.repo
Add the following content to 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
When you are done, save and close the file.
Then, update your local package index with the command below:
sudo yum update -y
Installing Tor on Centos 7
At this point, you have successfully added the Tor browser repository to your system. Next, use the yum command to install Tor Browser on your Centos 7:
sudo yum install tor -y
When your installation is completed, you can verify your Tor installation by checking its version:
In your output you will see:
Output Tor version 0.4.7.10. Tor is running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.2k-fips, Zlib 1.2.7, Liblzma 5.2.2, Libzstd 1.5.2 and Glibc 2.17 as libc. Tor compiled with GCC version 4.8.5
Important Note: It is highly recommended to use the Tor browser bundle, but if you want to use firefox with tor, once you have started the service, open firefox settings >> Preferences >> advanced >> network >> settings and select manual proxy configuration.
On successful command execution, you will have installed the Tor browser on your server. Now you can launch the application on your Desktop system.
At this point, you have learned to Install Tor Browser on Centos 7.
Hope you enjoy it.
You may be like these guides: