Tor install script.
Table of Contents
Originally written April 2021, updated November 2022
If you like this content, consider sending me an anonymous tip with Zcash: zs195rfh80s5m6chxrqej57fg9vxw2ypw2p9ppv3e5f44dstcu36f59pxfukugmgzxnp2djvu6w2jd
Per Tor Project's updated documentation:
For Ubuntu 22.04 LTS "Jammy"
#!/bin/bash
echo 'deb [arch=amd64] https://deb.torproject.org/torproject.org jammy main' >> /etc/apt/sources.list
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
apt update
apt install tor deb.torproject.org-keyring apt-transport-tor -y
Or just run this:
curl -s https://yawnbox.com/scripts/jammy_tor_install.sh | sudo sh
For Ubuntu 20.04 LTS "Focal"
#!/bin/bash
echo 'deb [arch=amd64] https://deb.torproject.org/torproject.org focal main' >> /etc/apt/sources.list
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
apt update
apt install tor deb.torproject.org-keyring apt-transport-tor -y
Or just run this:
curl -s https://yawnbox.com/scripts/focal_tor_install.sh | sudo sh
yawnbox