b7a80228115d7bcf21c521206fd66ec5852562c0
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

1) ## translation metadata
Roger Dingledine svn propset eol-style/revis...

Roger Dingledine authored 14 years ago

2) # Revision: $Revision$
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

3) # Translation-Priority: 3-low
4) 
Runa A. Sandvik utf-8 ftw

Runa A. Sandvik authored 14 years ago

5) #include "head.wmi" TITLE="Tor: Debian/Ubuntu Instructions" CHARSET="UTF-8"
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

6) 
7) <div class="center">
8) 
9) <div class="main-column">
10) 
11) <a id="debian"></a>
12) <h2><a class="anchor" href="#debian">Option one: Tor on Debian lenny,
13) Debian sid, or Debian testing</a></h2>
14) <br />
15) 
16) <p>
17) If you're using Debian stable (lenny), unstable (sid), or testing
18) (squeeze), just run<br />
19) <tt>apt-get install tor tor-geoipdb</tt>
20) </p>
21) 
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

22) <p>
23) Note that this might not always give you the latest stable Tor version, but
24) you will receive important security fixes. To make sure that you're running
25) the latest stable version of Tor, see option two below.
26) </p>
27) 
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

28) <p>
29) Now Tor is installed and running. Move on to <a href="<page
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

30) docs/tor-doc-unix>#polipo">step two</a> of the "Tor on Linux/Unix"
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

31) instructions.
32) </p>
33) 
34) <hr />
35) 
36) <a id="ubuntu"></a>
37) <a id="packages"></a>
38) <h2><a class="anchor" href="#ubuntu">Option two: Tor on Ubuntu or
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

39) Debian</a></h2>
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

40) <br />
41) 
42) <p>
43) <b>Do not use the packages in Ubuntu's universe.</b> They are unmaintained
44) and out of date. That means you'll be missing stability and security
45) fixes.
46) </p>
47) 
48) <p>
49) You'll need to set up our package repository before you can fetch
50) Tor. First, you need to figure out the name of your distribution. If
Roger Dingledine maybe eee's aren't so good...

Roger Dingledine authored 14 years ago

51) you're using Ubuntu 9.10, it's  "karmic", while 9.04 is "jaunty",
Roger Dingledine fix the grammar in the firs...

Roger Dingledine authored 14 years ago

52) 8.10 is "intrepid", and 8.04 is "hardy". If you're using Debian
53) Etch, it's "etch", and Debian Lenny is "lenny". Then add this line to your
Sebastian Hahn Karmic packages are now ava...

Sebastian Hahn authored 14 years ago

54) <tt>/etc/apt/sources.list</tt>
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

55) file:<br />
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

56) <pre>
Peter Palfrader s/mirror.noreply.org/deb.to...

Peter Palfrader authored 14 years ago

57) deb     http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

58) </pre>
Sebastian Hahn Karmic packages are now ava...

Sebastian Hahn authored 14 years ago

59) where you substitute the above word (etch, lenny, sid, karmic, jaunty,
60) intrepid, hardy) in place of &lt;DISTRIBUTION&gt;.
Sebastian Hahn Suggest a workaround for Ka...

Sebastian Hahn authored 14 years ago

61) </p>
62) 
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

63) <p>
Sebastian Hahn Explain what the individual...

Sebastian Hahn authored 14 years ago

64) Then add the gpg key used to sign the packages by running
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

65) <pre>
Peter Palfrader s/mirror.noreply.org/deb.to...

Peter Palfrader authored 14 years ago

66) gpg --keyserver keys.gnupg.net --recv 886DDD89
67) gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
Sebastian Hahn Explain what the individual...

Sebastian Hahn authored 14 years ago

68) </pre>
69) Now refresh your sources and install Tor by running
70) <pre>
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

71) apt-get update
72) apt-get install tor tor-geoipdb
73) </pre>
Runa A. Sandvik closed tags

Runa A. Sandvik authored 14 years ago

74) </p>
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

75) 
76) <p>
77) Now Tor is installed and running. Move on to <a href="<page
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

78) docs/tor-doc-unix>#polipo">step two</a> of the "Tor on Linux/Unix"
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

79) instructions.
80) </p>
81) 
Peter Palfrader Point out deb.tpo is a dns...

Peter Palfrader authored 14 years ago

82) <p style="font-size: small">
83) The DNS name <code>deb.torproject.org</code> is actually a set of independent
84) servers in a DNS round robin configuration.  If you for some reason cannot
85) access it you might try to use the name of one of its part instead.  Try
86) <code>deb-master.torproject.org</code>,
87) <code>mirror.netcologne.de</code> or
88) <code>tor.mirror.youam.de</code>.
89) </p>
90) 
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

91) <hr />
92) 
93) <a id="development"></a>
94) <h2><a class="anchor" href="#development">Option three: Using the
95) development branch of Tor on Debian or Ubuntu</a></h2>
96) <br />
97) 
98) <p>If you want to use the <a href="<page
99) download>#packagediff">development branch</a> of Tor instead (more
100) features and more bugs), you need to add a different set of lines to
101) your <tt>/etc/apt/sources.list</tt> file:<br />
102) <pre>
Peter Palfrader s/mirror.noreply.org/deb.to...

Peter Palfrader authored 14 years ago

103) deb     http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
104) deb     http://deb.torproject.org/torproject.org experimental-&lt;DISTRIBUTION&gt; main
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

105) </pre>
Roger Dingledine fix the grammar in the firs...

Roger Dingledine authored 14 years ago

106) where you substitute the name of your distro (etch, lenny, sid, karmic, jaunty,
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

107) intrepid, hardy) in place of &lt;DISTRIBUTION&gt;.
108) </p>
109) 
110) <p>
111) Then run
112) <pre>
Peter Palfrader s/mirror.noreply.org/deb.to...

Peter Palfrader authored 14 years ago

113) gpg --keyserver keys.gnupg.net --recv 886DDD89
114) gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

115) apt-get update
116) apt-get install tor tor-geoipdb
117) </pre>
Runa A. Sandvik closed tags

Runa A. Sandvik authored 14 years ago

118) </p>
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

119) 
120) <p>
121) Now Tor is installed and running. Move on to <a href="<page
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

122) docs/tor-doc-unix>#polipo">step two</a> of the "Tor on Linux/Unix"
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

123) instructions.
124) </p>
125) 
126) <hr />
127) 
128) <a id="source"></a>
129) <h2><a class="anchor" href="#source">Building from source</a></h2>
130) <br />
131) 
132) <p>
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

133) If you want to build your own debs from source you must first add an
134) appropriate <tt>deb-src</tt> line to <tt>sources.list</tt>.
135) <pre>
136) # For the stable version.
Peter Palfrader s/mirror.noreply.org/deb.to...

Peter Palfrader authored 14 years ago

137) deb-src http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

138) 
139) # For the unstable version.
Peter Palfrader s/mirror.noreply.org/deb.to...

Peter Palfrader authored 14 years ago

140) deb-src http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
141) deb-src http://deb.torproject.org/torproject.org experimental-&lt;DISTRIBUTION&gt; main
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

142) </pre>
143) You also need to install the necessary packages to build your own debs and the
144) packages needed to build Tor:
145) <pre>
146) apt-get install build-essential fakeroot devscripts
147) apt-get build-dep tor
148) </pre>
149) Then you can build Tor in ~/debian-packages:
150) <pre>
151) mkdir ~/debian-packages; cd ~/debian-packages
152) apt-get source tor
153) cd tor-*
154) debuild -rfakeroot -uc -us
155) cd ..
156) </pre>
157) Now you can install the new package:
158) <pre>
159) sudo dpkg -i tor_*.deb
160) </pre>
161) </p>
162) 
163) <p>
164) Now Tor is installed and running. Move on to <a href="<page
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

165) docs/tor-doc-unix>#polipo">step two</a> of the "Tor on Linux/Unix"
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

166) instructions.