Tor is free software and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.
Tor will accept connections from other applications on your computer on TCP port 9050. If you would just like to browse the web with Tor, see Tor Browser instead. This client is configured with defaults that will work for most use cases. For advanced use, install tor from your distribution's package manager.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
Install Tor Client
To install Tor Client, simply use the following command: