docs/en/tor-doc-unix.wml
2a9aaa80
 ## translation metadata
40e07e2e
 # Revision: $Revision$
2a9aaa80
 # Translation-Priority: 3-low
 
1f96f2aa
 #include "head.wmi" TITLE="Tor: Linux Install Instructions" CHARSET="UTF-8"
2a9aaa80
 <div id="content" class="clearfix">
   <div id="breadcrumbs">
b289ef06
     <a href="<page index>">Home &raquo; </a>
2a9aaa80
     <a href="<page docs/documentation>">Documentation &raquo; </a>
1f96f2aa
     <a href="<page docs/tor-doc-unix>">Linux Client</a>
ae029704
   </div>
   <div id="maincol">
1f96f2aa
     <h1>Running the <a href="<page index>">Tor</a> client on Linux</h1>
ed5ac546
     <br>
ae029704
 
97631f6c
     <h2>Note that these are the installation instructions for running a
32700e09
     Tor client. The easiest way to do this is to simply download <a
     href="<page projects/torbrowser>">Tor Browser</a> and you are
97631f6c
     done.
     </h2>
ae029704
 
ed5ac546
     <hr>
2a9aaa80
     <a id="installing"></a>
     <h2><a class="anchor" href="#installing">Step One: Download and Install Tor</a></h2>
ed5ac546
     <br>
ae029704
 
2a9aaa80
     <p>
     The latest release of Tor can be found on the <a
     href="<page download/download>">download</a> page. We have packages for Debian,
31e848b2
     Red Hat, Gentoo, etc there too. If you're
2a9aaa80
     using Ubuntu, don't use the default packages: use <a
     href="<page docs/debian>#ubuntu">our deb repository</a> instead.
     </p>
ae029704
 
2a9aaa80
     <p>If you're building from source, first install <a
     href="http://www.monkey.org/~provos/libevent/">libevent</a>, and
     make sure you have openssl and zlib (including the -devel packages if
ed5ac546
     applicable). Then run:<br>
     <tt>tar xzf tor-<version-stable>.tar.gz; cd tor-<version-stable></tt><br>
     <tt>./configure &amp;&amp; make</tt><br>
6cadf5aa
     Now you can run tor as either <tt>src/or/tor</tt> (before 0.3.5.x)
     or <tt>src/app/tor</tt> (0.3.5.x and later), or you can run <tt>make
     install</tt>
2a9aaa80
     (as root if necessary) to install it into /usr/local/, and then you can
     start it just by running <tt>tor</tt>.
     </p>
ae029704
 
2a9aaa80
     <p>Tor comes configured as a client by default. It uses a built-in
     default configuration file, and most people won't need to change any of
     the settings. Tor is now installed.
     </p>
ae029704
 
ed5ac546
     <hr>
2a9aaa80
     <a id="using"></a>
6910bea0
     <h2><a class="anchor" href="#using">Step Two: Configure your applications to use Tor</a></h2>
ed5ac546
     <br>
ae029704
 
2a9aaa80
     <p>
6f513b1b
     If you want to use Tor for anonymous web browsing, please use <a
     href="<page projects/torbrowser>">Tor Browser</a>. It comes with
     readily configured Tor and a browser patched for better anonymity.
     To use SOCKS directly (for instant messaging, Jabber, IRC, etc), you
     can point your application directly at Tor (localhost
7ad1d0f4
     port 9050, or port 9150 for Tor Browser), but see <a href="<page docs/faq>#TBBSocksPort">this FAQ
4fbd2928
     entry</a> for why this may be dangerous. For applications
     that support neither SOCKS nor HTTP, take a look at <a href="https://code.google.com/p/torsocks/">torsocks</a>
     or <a href="http://www.dest-unreach.org/socat/">socat</a>.
2a9aaa80
     </p>
ae029704
 
2a9aaa80
     <p>For information on how to Torify other applications, check out the
8d62e09f
     <a href="<wiki>doc/TorifyHOWTO">Torify HOWTO</a>.
2a9aaa80
     </p>
ae029704
 
8d62e09f
     <p>If you have a personal firewall that limits your computer's ability
     to connect to itself (this includes something like SELinux on Fedora
     Core 4), be sure to allow connections from your local applications to
     Tor (local port 9050). If your firewall blocks outgoing connections,
     punch a hole so it can connect to at least TCP ports 80 and 443, and
     then see <a href="<wikifaq>#FirewalledClient">this FAQ entry</a>.
4fbd2928
     If your SELinux config is not allowing tor to run
8d62e09f
     correctly, create a file named booleans.local in the directory
     /etc/selinux/targeted.  Edit this file in your favorite text editor
     and insert "allow_ypbind=1".  Restart your machine for this change
     to take effect.
2a9aaa80
     </p>
ae029704
 
2a9aaa80
     <p>If it's still not working, look at <a
481ccca3
     href="<page docs/faq>#DoesntWork">this
2a9aaa80
     FAQ entry</a> for hints.</p>
ae029704
 
ed5ac546
     <hr>
2a9aaa80
     <a id="server"></a>
     <a id="relay"></a>
4fbd2928
     <h2><a class="anchor" href="#relay">Step Three: Configure it as a relay</a></h2>
ed5ac546
     <br>
ae029704
 
5dcef2ea
     <p>The Tor network relies on volunteers to donate bandwidth. If you
     want to help <strong>make the Tor network faster</strong>, please
     consider <a href="<page docs/tor-doc-relay>">running a relay</a>.</p>
ae029704
 
ed5ac546
     <hr>
ae029704
 
2a9aaa80
     <p>If you have suggestions for improving this document, please <a
     href="<page about/contact>">send them to us</a>. Thanks!</p>
   </div>
   <!-- END MAINCOL -->
   <div id = "sidecol">
 #include "side.wmi"
 #include "info.wmi"
   </div>
   <!-- END SIDECOL -->
 </div>
 <!-- END CONTENT -->
ae029704
 #include <foot.wmi>