fb9b4d9581b074ed2e5bc468beb7b7f052a197cb
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

1) ## translation metadata
Roger Dingledine looks like we never set the...

Roger Dingledine authored 13 years ago

2) # Revision: $Revision$
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

3) # Translation-Priority: 3-low
4) 
5) #include "head.wmi" TITLE="Tor Project: Debian/Ubuntu Instructions" CHARSET="UTF-8"
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

6) 
7) <script>
8) <!--
9) // This code is based on the http://mozilla.debian.net sources.list
10) // generator as originally written by Mike Hommey. It is licensed under
11) // the terms of the GNU GPLv2, http://www.gnu.org/licenses/gpl-2.0.html.
12) var sources = {};
13) var software = {
Sebastian Hahn underscore means default. ouch

Sebastian Hahn authored 9 years ago

14) 'tor': { '_stable': { 'squeeze': [ 'squeeze' ],
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

15)                      'wheezy':  [ 'wheezy' ],
16)                      'jessie':  [ 'jessie' ],
17)                      'sid':     [ 'sid' ],
18)                      'lucid':   [ 'lucid'],
19)                      'precise': [ 'precise'],
20)                      'saucy':   [ 'saucy'],
21)                      'trusty':  [ 'trusty'],
22)                      'utopic':  [ 'utopic'] },
Sebastian Hahn reorder stable and experime...

Sebastian Hahn authored 9 years ago

23)          'experimental-0.2.6.x':    { 'squeeze': [ 'squeeze' ],
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

24)                      'wheezy':  [ 'wheezy' ],
25)                      'jessie':  [ 'jessie' ],
26)                      'sid':     [ 'sid' ],
27)                      'lucid':   [ 'lucid'],
28)                      'precise': [ 'precise'],
29)                      'saucy':   [ 'saucy'],
30)                      'trusty':  [ 'trusty'],
31)                      'utopic':  [ 'utopic'] },
32)        },
Sebastian Hahn underscore means default. ouch

Sebastian Hahn authored 9 years ago

33) 'tor (from source)': { '_stable': { 'squeeze': [ 'squeeze' ],
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

34)                      'wheezy':  [ 'wheezy' ],
35)                      'jessie':  [ 'jessie' ],
36)                      'sid':     [ 'sid' ],
37)                      'lucid':   [ 'lucid'],
38)                      'precise': [ 'precise'],
39)                      'saucy':   [ 'saucy'],
40)                      'trusty':  [ 'trusty'],
41)                      'utopic':  [ 'utopic'] },
Sebastian Hahn reorder stable and experime...

Sebastian Hahn authored 9 years ago

42)          'experimental-0.2.6.x':    { 'squeeze': [ 'squeeze' ],
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

43)                      'wheezy':  [ 'wheezy' ],
44)                      'jessie':  [ 'jessie' ],
45)                      'sid':     [ 'sid' ],
46)                      'lucid':   [ 'lucid'],
47)                      'precise': [ 'precise'],
48)                      'saucy':   [ 'saucy'],
49)                      'trusty':  [ 'trusty'],
50)                      'utopic':  [ 'utopic'] },
51)        },
52) };
53) 
54) function init() {
55)     pkg = document.getElementById('package');
56)     for (soft in software) {
57)         if (soft != pkg.value) {
58)             option = document.createElement('option');
59)             option.value = soft;
60)             option.appendChild(document.createTextNode(soft.charAt(0).toUpperCase() + soft.slice(1)));
61)             pkg.appendChild(option);
62)         }
63)     }
64) 
65)     apt_get = document.getElementById('apt-get');
66)     para = document.createElement('p');
67)     para.id = 'sorry';
68)     para.style.display = 'none';
69)     apt_get.parentNode.insertBefore(para, apt_get);
70)     para.appendChild(document.createTextNode("Sorry, this version is not available.\n"));
71) 
72)     document.getElementById('selector').style.display = 'block';
73) 
74)     update();
75) }
76) 
77) function replaceText(src, txt) {
78)     while (src.firstChild)
79)         src.removeChild(src.firstChild);
80)     src.appendChild(document.createTextNode(txt));
81) }
82) 
83) function update() {
84)     pkg = document.getElementById('package');
85)     ver = document.getElementById('version');
86)     package = pkg.value;
87)     version = ver.value;
88)     distrib = document.getElementById('distrib').value;
89)     if (package != pkg.prev) {
90)         while (ver.firstChild)
91)             ver.removeChild(ver.firstChild);
Sebastian Hahn underscore means default. ouch

Sebastian Hahn authored 9 years ago

92)         var selected;
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

93)         for (version in software[package]) {
94)             option = document.createElement('option');
95)             if (version[0] == '_') {
96)                 version = version.slice(1);
Sebastian Hahn underscore means default. ouch

Sebastian Hahn authored 9 years ago

97)                 selected = version;
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

98)             }
99)             option.appendChild(document.createTextNode(version));
100)             option.value = version = version.replace(/ \(.*\)/,'');
101) //alert(version);
102)             ver.appendChild(option);
103)         }
Sebastian Hahn underscore means default. ouch

Sebastian Hahn authored 9 years ago

104)         ver.value = version = selected || version;
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

105)         pkg.prev = package
106)     }
107)     try {
108)         keys = software[package][version][distrib];
109)     } catch (e) {
110)         try {
111)             keys = software[package]['_' + version][distrib];
112)         } catch (e) { };
113)     }
114)     src = document.getElementById('sources');
115)     txt = '';
116)     need_signed = false;
117)     source_install = false;
118)     target = '';
119)     for (i = 0; keys && (i < keys.length); i++) {
120) //alert(keys[i]);
121)         if (keys[i] in sources) {
122)             txt += sources[keys[i]];
123)             target = keys[i];
124)         } else {
125)             if (package.slice(-7, -1) == 'source') {
126)                 package = package.split(' ')[0];
Sebastian Hahn Always show deb-src entry o...

Sebastian Hahn authored 9 years ago

127)                 source_install = true;
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

128)             }
Sebastian Hahn Always show deb-src entry o...

Sebastian Hahn authored 9 years ago

129)             txt += "http://deb.torproject.org/torproject.org";
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

130)             txt += " ";
131)             txt += keys[i];
132)             txt += " main";
133)             need_signed = true;
134)             target = keys[i];
Sebastian Hahn Always show deb-src entry o...

Sebastian Hahn authored 9 years ago

135)             txt = "deb " + txt + "\ndeb-src " + txt;
Sebastian Hahn Show stable entry along wit...

Sebastian Hahn authored 9 years ago

136)             if (version != 'stable') {
137)                 txt2 = "http://deb.torproject.org/torproject.org";
138)                 txt2 += " ";
139)                 txt2 += package;
140)                 txt2 += "-";
141)                 txt2 += version;
142)                 txt2 += "-";
143)                 txt2 += keys[i];
144)                 txt2 += " main";
145)                 txt = txt + "\ndeb " + txt2 + "\ndeb-src " + txt2;
146)             }
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

147)         }
148)         txt += "\n";
149)     }
150)     replaceText(src, txt);
151)     document.getElementById('regular-install').style.display = source_install ? 'none' : 'block';
152)     document.getElementById('source-install').style.display = source_install ? 'block' : 'none';
153)     document.getElementById('source-install2').style.display = source_install ? 'block' : 'none';
154)     replaceText(document.getElementById('apt-package'), package);
155)     document.getElementById('apt-source').style.display = (keys && keys.length) ? 'block' : 'none';
156)     document.getElementById('apt-get').style.display = keys ? 'block' : 'none';
157)     document.getElementById('sorry').style.display = keys ? 'none' : 'block';
158) }
159) 
160) window.onload = init;
161) 
162) -->
163) </script>
164) 
165) 
166) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

167) <div id="content" class="clearfix">
168)   <div id="breadcrumbs">
Andrew Lewman change all of the breadcrum...

Andrew Lewman authored 13 years ago

169)     <a href="<page index>">Home &raquo; </a>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

170)     <a href="<page docs/documentation>">Documentation &raquo; </a>
171)     <a href="<page docs/debian>">Debian/Ubuntu Instructions</a>
172)   </div>
Roger Dingledine Raspbian is not Debian.

Roger Dingledine authored 10 years ago

173)   <div id="maincol">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

174) <a id="debian"></a>
Roger Dingledine future-proof it as suggeste...

Roger Dingledine authored 9 years ago

175) <h2><a class="anchor" href="#debian">Option one: Tor on Debian stable,
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

176) Debian sid, or Debian testing</a></h2>
177) <br />
178) 
179) <p>
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

180) If you're using Debian, just run
181) </blockquote><pre>  apt-get install tor </pre></blockquote>
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

182) as root.
183) </p>
184) 
185) <p>
186) Note that this might not always give you the latest stable Tor version, but
187) you will receive important security fixes. To make sure that you're running
188) the latest stable version of Tor, see option two below.
189) </p>
190) 
191) <p>
192) Now Tor is installed and running. Move on to <a href="<page
Andrew Lewman update the step two link.

Andrew Lewman authored 12 years ago

193) docs/tor-doc-unix>#using">step two</a> of the "Tor on Linux/Unix"
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

194) instructions.
195) </p>
196) 
197) <hr />
198) 
199) <a id="ubuntu"></a>
200) <a id="packages"></a>
201) <h2><a class="anchor" href="#ubuntu">Option two: Tor on Ubuntu or
202) Debian</a></h2>
203) <br />
204) 
205) <p>
Sebastian Hahn Update Debian versions and...

Sebastian Hahn authored 12 years ago

206) <b>Do not use the packages in Ubuntu's universe.</b> In the past they have
207) not reliably been updated. That means you could be missing stability
208) and security fixes.
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

209) </p>
210) 
Roger Dingledine Raspbian is not Debian.

Roger Dingledine authored 10 years ago

211) <p>
212) <b>Raspbian is not Debian.</b> These packages will be confusingly broken
213) for Raspbian users, since Raspbian called their architecture armhf but
Roger Dingledine begin the slide toward link...

Roger Dingledine authored 10 years ago

214) Debian already has an armhf. See <a
215) href="http://tor.stackexchange.com/questions/242/how-to-run-tor-on-raspbian-on-the-raspberry-pi">this
216) post</a> for details.
Roger Dingledine Raspbian is not Debian.

Roger Dingledine authored 10 years ago

217) </p>
218) 
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

219) <p>
220) You'll need to set up our package repository before you can fetch
Andrew Lewman add a suggestion from Spenc...

Andrew Lewman authored 13 years ago

221) Tor. First, you need to figure out the name of your distribution. A
Peter Palfrader we no longer do intrepid an...

Peter Palfrader authored 13 years ago

222) quick command to run is <tt>lsb_release -c</tt> or <tt>cat /etc/debian_version</tt>.
Peter Palfrader Stop listing ancient ubuntu...

Peter Palfrader authored 10 years ago

223) If in doubt about your Debian version, check <a href="http://www.debian.org/releases/">the Debian website</a>.
224) For Ubuntu, ask <a href="https://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Table_of_versions">Wikipedia</a>.
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

225) </p>
226) 
227) <div id="selector" style="display: none;">
228) <blockquote>
Sebastian Hahn Try to fit form fields in o...

Sebastian Hahn authored 9 years ago

229) I run
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

230) <select id="distrib" onchange="update()">
231) <option value="squeeze">Debian oldstable (Squeeze)</option>
Sebastian Hahn Jessie is stable now

Sebastian Hahn authored 8 years ago

232) <option value="wheezy">Debian oldstable (Wheezy)</option>
233) <option value="jessie" selected="selected">Debian (Jessie)</option>
Sebastian Hahn sid is unstable

Sebastian Hahn authored 9 years ago

234) <option value="sid">Debian unstable (sid)</option>
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

235) <option value="lucid">Ubuntu Lucid Lynx</option>
236) <option value="precise">Ubuntu Precise Pangolin</option>
237) <option value="saucy">Ubuntu Saucy Salamander</option>
238) <option value="trusty">Ubuntu Trusty Tahr</option>
239) <option value="utopic">Ubuntu Utopic Unicorn</option>
240) </select>
Sebastian Hahn Try to fit form fields in o...

Sebastian Hahn authored 9 years ago

241) and want
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

242) <select id="package" onchange="update()"></select>
243) version
244) <select id="version" onchange="update()"></select>
245) </blockquote>
246) 
247) 
248) <div id="apt-source">
249) <p>You need to add the following entry in <code>/etc/apt/sources.list</code> or a new file in <code>/etc/apt/sources.list.d/</code>:</p>
250) 
251) <blockquote><pre id="sources">deb http://deb.torproject.org/torproject.org wheezy main
252) </pre></blockquote>
253) </div>
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

254) 
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

255) <div id="sig">
256) <p>Then add the gpg key used to sign the packages by running the following commands at your command prompt:</p>
257) <blockquote><pre>
258) gpg --keyserver keys.gnupg.net --recv 886DDD89
259) gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
260) </pre></blockquote>
261) </div>
262) 
263) 
264) <div id="apt-get">
265) <p>You can install it with the following commands:</p>
266) <blockquote><pre>$ apt-get update
267) <span id="regular-install">$ apt-get install <span id="apt-package">tor</span> deb.torproject.org-keyring</span>
268) <span id="source-install">$ apt-get install build-essential fakeroot devscripts
269) $ apt-get build-dep tor deb.torproject.org-keyring</span></pre></blockquote>
270) 
271) <div id="source-install2">
272) <p>
273) Then you can build Tor in ~/debian-packages:
274) </p>
275) <blockquote><pre>
276) $ mkdir ~/debian-packages; cd ~/debian-packages
277) $ apt-get source tor
278) $ cd tor-*
279) $ debuild -rfakeroot -uc -us
280) $ cd ..
281) </pre></blockquote>
282) <p>Now you can install the new package:</p>
283) <blockquote><pre>
284) $ sudo dpkg -i tor_*.deb
285) </pre></blockquote>
286) </div>
287) </div>
288) </div>
289) 
290) <noscript>
291) <p>
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

292) Then add this line to your
293) <tt>/etc/apt/sources.list</tt>
294) file:<br />
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

295) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

296) deb     http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
297) </pre>
Peter Palfrader we no longer do intrepid an...

Peter Palfrader authored 13 years ago

298) where you put the codename of your distribution (i.e. lenny, sid,
Peter Palfrader s/maverick/saucy/

Peter Palfrader authored 10 years ago

299) saucy or whatever it is)
Andrew Lewman add a suggestion from Spenc...

Andrew Lewman authored 13 years ago

300) in place of &lt;DISTRIBUTION&gt;.
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

301) </p>
302) 
303) <p>
304) Then add the gpg key used to sign the packages by running the following
305) commands at your command prompt:
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

306) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

307) gpg --keyserver keys.gnupg.net --recv 886DDD89
308) gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
309) </pre>
Peter Palfrader mention our keyring package

Peter Palfrader authored 12 years ago

310) Now refresh your sources, running the following command (as root) at your
311) command prompt:
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

312) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

313) apt-get update
Peter Palfrader mention our keyring package

Peter Palfrader authored 12 years ago

314) </pre>
315) If there are no errors you're good to continue.
316) </p>
317) 
318) <p>
319) We provide a Debian package to help you keep our signing key current.  It is
320) recommended you use it.  Install it using
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

321) <pre style="margin: 1.5em 0 1.5em 2em">
Peter Palfrader mention our keyring package

Peter Palfrader authored 12 years ago

322) apt-get install deb.torproject.org-keyring
323) </pre>
324) </p>
325) 
326) <p>
327) To finally install Tor just run:
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

328) <pre style="margin: 1.5em 0 1.5em 2em">
Peter Palfrader mention our keyring package

Peter Palfrader authored 12 years ago

329) apt-get install tor
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

330) </pre>
331) </p>
332) 
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

333) </noscript>
334) 
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

335) <p>
336) Now Tor is installed and running. Move on to <a href="<page
Andrew Lewman update the step two link.

Andrew Lewman authored 12 years ago

337) docs/tor-doc-unix>#using">step two</a> of the "Tor on Linux/Unix"
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

338) instructions.
339) </p>
340) 
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

341) <noscript>
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

342) <p style="font-size: small">
343) The DNS name <code>deb.torproject.org</code> is actually a set of independent
344) servers in a DNS round robin configuration.  If you for some reason cannot
345) access it you might try to use the name of one of its part instead.  Try
346) <code>deb-master.torproject.org</code>,
347) <code>mirror.netcologne.de</code> or
348) <code>tor.mirror.youam.de</code>.
349) </p>
350) 
351) <hr />
352) 
353) <a id="development"></a>
354) <h2><a class="anchor" href="#development">Option three: Using the
355) development branch of Tor on Debian or Ubuntu</a></h2>
356) <br />
357) 
Andrew Lewman add a suggestion from Spenc...

Andrew Lewman authored 13 years ago

358) <p>If you want to use the <a href="<page
359) download/download>#packagediff">development branch</a> of Tor instead
360) (more features and more bugs), you need to add a different set of lines
361) to your <tt>/etc/apt/sources.list</tt> file:<br />
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

362) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

363) deb     http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
Sebastian Hahn We have 0.2.6 packages now,...

Sebastian Hahn authored 9 years ago

364) deb     http://deb.torproject.org/torproject.org tor-experimental-0.2.6.x-&lt;DISTRIBUTION&gt; main
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

365) </pre>
Peter Palfrader we no longer do intrepid an...

Peter Palfrader authored 13 years ago

366) where you again substitute the name of your distro (lenny,
Peter Palfrader s/maverick/saucy/

Peter Palfrader authored 10 years ago

367) sid, saucy, ...) in place of
Andrew Lewman add a suggestion from Spenc...

Andrew Lewman authored 13 years ago

368) &lt;DISTRIBUTION&gt;.
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

369) </p>
370) 
371) <p>
372) Then run the following commands at your command prompt:
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

373) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

374) gpg --keyserver keys.gnupg.net --recv 886DDD89
375) gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
376) apt-get update
Peter Palfrader No need to explicitly ask f...

Peter Palfrader authored 12 years ago

377) apt-get install tor deb.torproject.org-keyring
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

378) </pre>
379) </p>
380) 
381) <p>
382) Now Tor is installed and running. Move on to <a href="<page
Andrew Lewman update the step two link.

Andrew Lewman authored 12 years ago

383) docs/tor-doc-unix>#using">step two</a> of the "Tor on Linux/Unix"
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

384) instructions.
385) </p>
386) 
387) <hr />
388) 
389) <a id="source"></a>
390) <h2><a class="anchor" href="#source">Building from source</a></h2>
391) <br />
392) 
393) <p>
394) If you want to build your own debs from source you must first add an
395) appropriate <tt>deb-src</tt> line to <tt>sources.list</tt>.
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

396) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

397) # For the stable version.
398) deb-src http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
399) 
400) # For the unstable version.
401) deb-src http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
Sebastian Hahn We have 0.2.6 packages now,...

Sebastian Hahn authored 9 years ago

402) deb-src http://deb.torproject.org/torproject.org tor-experimental-0.2.6.x-&lt;DISTRIBUTION&gt; main
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

403) </pre>
Matt Pagan We should tell people build...

Matt Pagan authored 9 years ago

404) Substitute the name of your distro (wheezy, sid, trusty, ...) in place of &lt;DISTRIBUTION&gt;. Now refresh your sources by running (as root):
405) <pre style="margin: 1.5em 0 1.5em 2em">
406) apt-get update
407) </pre>
408) You also need to install the necessary packages to build your own debs and the 
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

409) packages needed to build Tor:
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

410) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

411) apt-get install build-essential fakeroot devscripts
412) apt-get build-dep tor
413) </pre>
414) Then you can build Tor in ~/debian-packages:
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

415) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

416) mkdir ~/debian-packages; cd ~/debian-packages
417) apt-get source tor
418) cd tor-*
419) debuild -rfakeroot -uc -us
420) cd ..
421) </pre>
422) Now you can install the new package:
Peter Palfrader Fix the <pre>s in debian

Peter Palfrader authored 12 years ago

423) <pre style="margin: 1.5em 0 1.5em 2em">
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

424) sudo dpkg -i tor_*.deb
425) </pre>
426) </p>
427) 
428) <p>
429) Now Tor is installed and running. Move on to <a href="<page
Andrew Lewman update the step two link.

Andrew Lewman authored 12 years ago

430) docs/tor-doc-unix>#using">step two</a> of the "Tor on Linux/Unix"
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

431) instructions.
432) </p>
Sebastian Hahn Update Debian page to inclu...

Sebastian Hahn authored 9 years ago

433) </noscript>
Andrew Lewman revisit the debian instruct...

Andrew Lewman authored 13 years ago

434) 
435) <!-- END MAIN COL -->