Tor install script.
This script is based on Tor Project's updated documentation. It has moved here: https://code.disobey.net/EmeraldOnion/tor-install-script/
curl -s https://code.disobey.net/EmeraldOnion/tor-install-script/raw/branch/main/tor_install.sh | sudo bash