2d3c147c68c053ff1d441bb34d1df103a7dbf4cc
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>
Sebastian Hahn Add a note about running ap...

Sebastian Hahn authored 14 years ago

20) as root.
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

21) </p>
22) 
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Roger Dingledine authored 14 years ago

31) 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

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

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 14 years ago

41) <br />
42) 
43) <p>
44) <b>Do not use the packages in Ubuntu's universe.</b> They are unmaintained
45) and out of date. That means you'll be missing stability and security
46) fixes.
47) </p>
48) 
49) <p>
50) You'll need to set up our package repository before you can fetch
Andrew Lewman create a mapping of distro...

Andrew Lewman authored 13 years ago

51) Tor. First, you need to figure out the name of your distribution. Here's
52) a quick mapping:
53) <ul>
54) <li> Ubuntu 10.04 or Trisquel 4.0 is "lucid"</li>
55) <li> Ubuntu 9.10 or Trisquel 3.5 is  "karmic"</li>
56) <li> Ubuntu 9.04 is "jaunty"</li>
57) <li> Ubuntu 8.10 is "intrepid"</li>
58) <li> Ubuntu 8.04 is "hardy"</li> 
59) <li> Debian Etch is "etch"</li>
60) <li> Debian Lenny is "lenny"</li>
61) </ul>
62) 
63) Then add this line to your
Sebastian Hahn Karmic packages are now ava...

Sebastian Hahn authored 14 years ago

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

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Roger Dingledine authored 14 years ago

68) </pre>
Andrew Lewman create a mapping of distro...

Andrew Lewman authored 13 years ago

69) where you put the codename of your distribution (i.e. etch, lenny, sid, lucid, karmic, jaunty, intrepid, hardy or whatever it is) in place of &lt;DISTRIBUTION&gt;.
Sebastian Hahn Suggest a workaround for Ka...

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 14 years ago

72) <p>
Andrew Lewman clarify that these are run...

Andrew Lewman authored 14 years ago

73) Then add the gpg key used to sign the packages by running the following
74) commands at your command prompt:
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Sebastian Hahn authored 14 years ago

78) </pre>
Andrew Lewman clarify that these are run...

Andrew Lewman authored 14 years ago

79) Now refresh your sources and install Tor by running the following
Runa A. Sandvik mention that you need to be...

Runa A. Sandvik authored 13 years ago

80) commands (as root) at your command prompt:
Sebastian Hahn Explain what the individual...

Sebastian Hahn authored 14 years ago

81) <pre>
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

82) apt-get update
83) apt-get install tor tor-geoipdb
84) </pre>
Runa A. Sandvik closed tags

Runa A. Sandvik authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Roger Dingledine authored 14 years ago

89) 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

90) instructions.
91) </p>
92) 
Peter Palfrader Point out deb.tpo is a dns...

Peter Palfrader authored 14 years ago

93) <p style="font-size: small">
94) The DNS name <code>deb.torproject.org</code> is actually a set of independent
95) servers in a DNS round robin configuration.  If you for some reason cannot
96) access it you might try to use the name of one of its part instead.  Try
97) <code>deb-master.torproject.org</code>,
98) <code>mirror.netcologne.de</code> or
99) <code>tor.mirror.youam.de</code>.
100) </p>
101) 
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

102) <hr />
103) 
104) <a id="development"></a>
105) <h2><a class="anchor" href="#development">Option three: Using the
106) development branch of Tor on Debian or Ubuntu</a></h2>
107) <br />
108) 
109) <p>If you want to use the <a href="<page
110) download>#packagediff">development branch</a> of Tor instead (more
111) features and more bugs), you need to add a different set of lines to
112) your <tt>/etc/apt/sources.list</tt> file:<br />
113) <pre>
Peter Palfrader s/mirror.noreply.org/deb.to...

Peter Palfrader authored 14 years ago

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

Roger Dingledine authored 14 years ago

116) </pre>
Roger Dingledine add lucid more cleanly

Roger Dingledine authored 13 years ago

117) where you again substitute the name of your distro (etch, lenny, sid,
118) lucid, karmic,
Peter Palfrader Don't say 'substitute the a...

Peter Palfrader authored 14 years ago

119) jaunty, intrepid, hardy) in place of &lt;DISTRIBUTION&gt;.
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

120) </p>
121) 
122) <p>
Andrew Lewman clarify that these are run...

Andrew Lewman authored 14 years ago

123) Then run the following commands at your command prompt:
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Roger Dingledine authored 14 years ago

127) apt-get update
128) apt-get install tor tor-geoipdb
129) </pre>
Runa A. Sandvik closed tags

Runa A. Sandvik authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Roger Dingledine authored 14 years ago

134) 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

135) instructions.
136) </p>
137) 
138) <hr />
139) 
140) <a id="source"></a>
141) <h2><a class="anchor" href="#source">Building from source</a></h2>
142) <br />
143) 
144) <p>
Sebastian Hahn Update debian.wml

Sebastian Hahn authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Sebastian Hahn authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Sebastian Hahn authored 14 years ago

154) </pre>
155) You also need to install the necessary packages to build your own debs and the
156) packages needed to build Tor:
157) <pre>
158) apt-get install build-essential fakeroot devscripts
159) apt-get build-dep tor
160) </pre>
161) Then you can build Tor in ~/debian-packages:
162) <pre>
163) mkdir ~/debian-packages; cd ~/debian-packages
164) apt-get source tor
165) cd tor-*
166) debuild -rfakeroot -uc -us
167) cd ..
168) </pre>
169) Now you can install the new package:
170) <pre>
171) sudo dpkg -i tor_*.deb
172) </pre>
173) </p>
174) 
175) <p>
176) Now Tor is installed and running. Move on to <a href="<page
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

177) 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

178) instructions.