Use torify
.
$ man torify
torify is a simple wrapper that attempts to find the best underlying Tor wrapper available on a system. It calls torsocks or tsocks with a tor specific configuration file.
Por exemplo para atualizar e atualizar seus pacotes:
sudo torify apt-get update && sudo torify apt-get upgrade