Need to install tor on Mac. Downloaded tor.tar.gz file from torprogect.org. Tor version is 0.2.7.6. Os X 10.11.3. On torproject.org said that it has to be configure with: ./configure && make && src/or/tor. Don't know what does that mean. How do I proceed?
Have you considered using Tor Browser instead of
The Tor Browser lets you use Tor on Windows, Mac OS X, or Linux without needing to install any software. It can run off a USB flash drive, comes with a pre-configured web browser to protect your anonymity, and is self-contained (portable).
You can use the homebrew project to install tor on your Mac.
Follow the instructions on homebrew to install the
- Launch Terminal.app
Paste in the one line command from brew.sh:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Run the following command to install
torand any dependencies:
brew install tor
If you decide later to remove
tor, you can use the command:
brew uninstall tor
Alternatively, you can probably use MacPorts.
*.tar.gz files are gzipped archive files. To unzip/unarchive the file simply double-click it. This will invoke Archive Utility and the file will be extracted to a folder (usually with the same name as the archive).
To build any tool from the sources Xcode and/or Xcode Command Line Tools are required.
Open the README file and check the build instruction. The readme mentions:
To build Tor from source:
./configure && make && make install
Then open Terminal and navigate to the folder:
./configure && make && make install to configure, make and install tor. You may have to prepend sudo to make install it.
You have to install additional packages like libevent, openssl and probably some other to build it successfully.
To run tor simply enter
tor in the shell.
Alternatively you can skip the && make install and just run
./configure && make. Other packages - like mentioned above - are still needed.
Then tor won't be installed to /usr/local. You still can run it in the build folder using src/or/to
I doubt that the above instructions successfully build tor after installing all required libraries/packages/tools (which will probably mess your system) because they target Linux.
If you want to browse the web anonymously, then Tor Browser works great. Having tor installed will be just a waste of time. However, if you want the entire network traffic routed through it, than tor is necessary.
To install tor I also recommend homebrew (see @Graham Miln answer).
But that's not it, if you want to route the entire network traffic through tor, you must also edit the Network System Preferences and add a new Location for tor.
A quick guide to do so:
- Open System Preferences and the Network
- from the dropdown menu Location, click on Edit Locations, then the + sign and name it Tor (or whatever)
- Go to Advanced, then Proxies. Put the checkmark in SOCKS Proxy and add the following values: SOCKS proxy server > localhost and Port > 9050.
- Click "OK" and then "Apply" and exit the System Preferences.
Now to actually use Tor, you must click on the Apple Menu, Locations and then the newly Tor location. Also you must run 'tor' in the Terminal. When the Terminal says that Bootstrap is at 100%, you're good to go and you can check (e.g. Safari) is running through Tor by visiting check.torprojects.org
Do not close the Terminal window while you're running Tor.
To quit Tor, do CTRL+C in the Terminal and then revert Location to Automatic.