Here are the Steps to Install Tor Proxy on Ubuntu 18.04 LTS (Bionic Beaver).

Install Tor Proxy on Ubuntu

  • Add Deb Package in the APT Source list
echo "deb $(lsb_release -cs) main" > /etc/apt/sources.list.d/tor.list
  • Add gpg key
curl | gpg --import
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
  • Now Install Tor from its Deb package
sudo apt update
sudo apt install tor tor-geoipdb torsocks
  • Verify your Install
which tor
$ /usr/sbin/tor #output
tor --version
$ Tor version #outuput
  • Start, Stop & Restart Tor service
sudo /etc/init.d/tor start
sudo /etc/init.d/tor restart
sudo /etc/init.d/tor stop
  • Default Tor Socks Proxy URL (Just Open it on Browser)

Useful Notes

Beginner’s Guide to Tor on Ubuntu