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
Paste the following lines into a shell/Terminal session:
os=$(cat /etc/os-release|grep "^ID="|cut -d= -f2|sed "s/\"//g") && \ sudo cat << EOF > /etc/yum.repos.d/tor.repo [Tor] name=Tor for $os \$releasever - \$basearch baseurl=https://rpm.torproject.org/$os/\$releasever/\$basearch enabled=1 gpgcheck=1 gpgkey=https://rpm.torproject.org/$os/public_gpg.key cost=100 EOF
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