I wanted to install a program on terminal but it's blocked. How do I torfiy my terminal to fetch the package over Tor?
Assuming you want to do this using
apt-get, rather than building from source, you can use torify in the following way:
# torify apt-get update # torify apt-get install <jdk_packages>
[A similar solution was offered here: https://tor.stackexchange.com/a/839/1730]