Tor install script

2021 April 04

Per Tor Project's updated documentation:

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 if you trust me, just run this :)

curl -s https://yawnbox.com/focal_tor_install.sh | sudo sh