Browse code

Adding homebrew instruction for tor on OSX

hiromipaw authored on 07/09/2017 19:28:57
Showing 1 changed files
... ...
@@ -25,20 +25,34 @@
25 25
     this over TBB when they host hidden services or relay traffic for other Tor
26 26
     users.  <hr>
27 27
     <a id="installing"></a>
28
-    <h2><a class="anchor" href="#installing">Step One: Install Macports</a></h2>
28
+    <h2><a class="anchor" href="#installing">Step One: Install A Package Manager</a></h2>
29 29
     <br>
30 30
 
31
+    <p>There are two package manager on OS X: Homebrew and Macports. You can use the package manager of your choice.</p>
32
+
31 33
     <p>
32
-    Macports is a package manager for Mac OS X which provides a Tor package,
33
-    along a lot of other stuff. Follow the instructions on <a
34
-    href="https://www.macports.org/install.php">its Website</a> to install.
34
+    To install Homebrew follow the instructions on <a
35
+    href="https://brew.sh/">brew.sh</a>.
36
+    </p>
37
+
38
+    <p>
39
+    To install Macports follow the instructions on <a
40
+    href="https://www.macports.org/install.php">macports.org/install.php</a>.
35 41
     </p>
36 42
 
37 43
     <hr>
38 44
     <h2>Step Two: Install Tor</a></h2>
39 45
     <br>
40 46
 
41
-    <p>In a Terminal window, run:</p>
47
+    <p>If you are using Homebrw in a Terminal window, run:</p>
48
+
49
+    <pre>brew install tor</pre>
50
+
51
+    <p>You will find a sample Tor configuration file at
52
+    <tt>/usr/local/etc/tor/torrc.sample</tt>. Remove the .sample extension to
53
+    make it effective.</p>
54
+
55
+    <p>If you are using Macports in a Terminal window, run:</p>
42 56
 
43 57
     <pre>sudo port install tor</pre>
44 58