In today’s digital age, privacy and security are paramount for internet users. The Tor Browser is a powerful tool that offers anonymity and privacy by routing your internet connection through a distributed network of relays. This guide provides a step-by-step approach to installing Tor Browser on CentOS and Fedora, two popular Linux distributions known for their robustness and stability.
Installing Tor Browser on CentOS and Fedora systems can greatly enhance your internet privacy and security. Tor, short for The Onion Router, encrypts and routes your internet traffic through a worldwide network of relays and tunnels, making it difficult to track your internet activity. This guide will walk you through the steps to install Tor Browser on CentOS and Fedora Linux distributions.
Before proceeding with the installation, ensure you have:
- A computer running CentOS or Fedora.
- Sudo privileges or access to the root account.
- An internet connection to download the necessary files.
Step 1: Update Your System
Before installing any new software, it’s a good practice to update your system’s package repository. This ensures you have the latest security patches and dependencies. Open a terminal and run the following command:
sudo dnf update
Step 2 : Configure DNF 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/torbrowser.repo and edit in a text editor:
sudo nano /etc/yum.repos.d/torbrowser.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 it.
Step 3: 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.
Step 4: First Run and Connection
Upon launching Tor Browser for the first time, you will encounter the connection window. Most users can select “Connect” directly to establish a connection with the Tor network. Users in countries with internet censorship or those requiring proxy settings can select “Configure” to customize their connection settings.
By following these steps, you have successfully installed Tor Browser on your CentOS or Fedora system, providing you with a secure and private browsing experience. Tor Browser is an essential tool for anyone looking to protect their online privacy and navigate the internet anonymously. Remember, no tool can provide 100% anonymity, but Tor Browser significantly enhances your internet privacy and security.