Notes

Add Tor browser on Ubuntu

Edit on GitHub

System Administration

There is a bash script that takes care of everything in this article and more.

  1. Download the latest Tor browser package from the Tor downloads page, it’s signature and verify the package using signature and GPG key
 1# Download Tor browser package
 2wget https://www.torproject.org/dist/torbrowser/11.5/tor-browser-linux64-11.5_en-US.tar.xz
 3
 4# Download signature
 5wget https://www.torproject.org/dist/torbrowser/11.5/tor-browser-linux64-11.5_en-US.tar.xz.asc 
 6
 7# Import GPG key and Verify package with signature 
 8gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org # import key
 9gpg --output ./tor-browser.keyring --export 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290 # save key to file
10gpgv --keyring ./tor-browser.keyring tor-browser-linux64-11.5_en-US.tar.xz.asc  tor-browser-linux64-11.5_en-US.tar.xz # verify the signature of package using key
  1. Extract and move to /opt for a system-wide install
1# Extract
2tar -xf tor-browser-linux64-11.5_en-US.tar.xz # gives a folder like: tor-browser_en-US
3sudo mv tor-browser_en-US /opt
  1. Go to the install location and run the start-tor-browser.desktop and use --register-app so that it adds/updates the desktop shortcut
1sudo chmod +x /opt/tor-browser_en-US/start-tor-browser.desktop
2cd /opt/tor-browser_en-US
3./start-tor-browser.desktop --register-app