66887ccd98b1243d2b7696d6784b0fb181b997a6
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
51) 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

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

53) 8.10 is "intrepid", and 8.04 is "hardy". If you're using Debian
54) 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

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

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Roger Dingledine authored 14 years ago

59) </pre>
Peter Palfrader Don't say 'substitute the a...

Peter Palfrader authored 14 years ago

60) where you put the codename of your distribution (i.e. etch, lenny, sid, karmic,
61) 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

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

Roger Dingledine authored 14 years ago

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

Sebastian Hahn authored 14 years ago

65) Then add the gpg key used to sign the packages by running
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) gpg --keyserver keys.gnupg.net --recv 886DDD89
68) gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
Sebastian Hahn Explain what the individual...

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Runa A. Sandvik authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

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

Peter Palfrader authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Roger Dingledine authored 14 years ago

106) </pre>
Peter Palfrader Don't say 'substitute the a...

Peter Palfrader authored 14 years ago

107) where you again substitute the name of your distro (etch, lenny, sid, karmic,
108) jaunty, intrepid, hardy) in place of &lt;DISTRIBUTION&gt;.
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

109) </p>
110) 
111) <p>
112) Then run
113) <pre>
Peter Palfrader s/mirror.noreply.org/deb.to...

Peter Palfrader authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Runa A. Sandvik authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

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

Sebastian Hahn authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Sebastian Hahn authored 14 years ago

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

Peter Palfrader authored 14 years ago

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

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

167) instructions.