For Debian and Debian-based systems, such as Mint, PopOS etc.
Note
The following install is for the LTS (Long Term Support) version of Tor from Debian. If you would like the latest stable release, The Tor Project maintain their own Debian repository. The instructions to connect to this can be found here.
Install the Tor proxy service to your system. To do so, open your terminal and run the following command:
sudo apt update && sudo apt install tor
Tip
You can check that Tor is running with:
systemctl status tor
In the rare event that Tor is having connectivity issues, you can reset your connection with:
sudo systemctl restart tor
Simply install Tor with:
sudo pacman -S tor
Tip
You can check that Tor is running with:
systemctl status tor
In the rare event that Tor is having connectivity issues, you can reset your connection with:
sudo systemctl restart tor
Configure the Tor Package repository. Add the following to /etc/yum.repos.d/tor.repo
:
CentOS / RHEL:
[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
Fedora:
Tip
Latest Fedora versions have Tor package available for installation:
[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
Install the Tor package:
sudo dnf install tor
Then enable tor service:
sudo systemctl enable --now tor
If using Firefox, you will also need to complete this guide: Configuring Firefox for Tor