Tor is free software web proxy enabled browser. Tor browser helps us to defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.
This article will help you to install the Tor browser in your CentOS/RHEL and Fedora systems.
Step 1 – Setup Yum Repository
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, configure the EPEL repository on your system.
sudo dnf install epel-release -y
Now, create a new file /etc/yum.repos.d/tor.repo and edit in a text editor:
sudo nano /etc/yum.repos.d/tor-browser.repo
Add one of the below configurations as per your Linux distribution.
- On CentOS and RHEL systems:
[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
- On Fedora systems:
[Tor] name=Tor for Fedora $releasever - $basearch baseurl=https://rpm.torproject.org/fedora/$releasever/$basearch enabled=1 gpgcheck=1 gpgkey=https://rpm.torproject.org/fedora/public_gpg.key cost=100
Save the file and close.
Step 2 – Installing Tor Browser
You have successfully added the Tor browser repository to your system. Next use the DNF command to install Tor Browser on your CentOS, RHEL, or Fedora system:
sudo dnf install tor
Press ‘y’ for any confirmation prompted by the installer.
On successful command execution, you will have installed the Tor browser on CentOS and Fedora systems. Now launch the application in your Desktop system.
This tutorial helped you to install the Tor browser on CentOS, RHEL, and Fedora systems.