]> git.sur5r.net Git - i3/i3.github.io/blob - docs/repositories.html
add _docs/repositories, update hint on /downloads
[i3/i3.github.io] / docs / repositories.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
2     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
4 <head>\r
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
6 <meta name="generator" content="AsciiDoc 8.6.4" />\r
7 <title>i3: Debian and Ubuntu repositories</title>\r
8 <link rel="stylesheet" href="/css/style.css" type="text/css" />\r
9 <link rel="stylesheet" href="/css/xhtml11.css" type="text/css" />\r
10 <script type="text/javascript">\r
11 /*<![CDATA[*/\r
12 window.onload = function(){asciidoc.footnotes();}\r
13 /*]]>*/\r
14 </script>\r
15 <script type="text/javascript" src="/js/asciidoc-xhtml11.js"></script>\r
16 </head>\r
17 <body class="article">\r
18 \r
19         <div id="main">\r
20             <a href="/"><h1 id="title">i3 - improved tiling WM</h1></a>\r
21                         <ul id="nav">\r
22                                 <li><a style="border-bottom: 2px solid #fff" href="/docs">Docs</a></li>\r
23                                 <li><a href="/screenshots">Screens</a></li>\r
24                                 <li><a href="/contact">Contact</a></li>\r
25                                 <li><a href="http://bugs.i3wm.org/">Bugs</a></li>\r
26                         </ul>\r
27         <br style="clear: both">\r
28 <div id="content">\r
29 <div id="header">\r
30 <h1>Debian and Ubuntu repositories</h1>\r
31 <span id="author">Michael Stapelberg</span><br />\r
32 <span id="email"><tt>&lt;<a href="mailto:michael+i3@stapelberg.de">michael+i3@stapelberg.de</a>&gt;</tt></span><br />\r
33 <span id="revdate">July 2011</span>\r
34 </div>\r
35 <div class="sect1">\r
36 <h2 id="_when_should_you_use_our_repositories">1. When should you use our repositories?</h2>\r
37 <div class="sectionbody">\r
38 <div class="paragraph"><p>In general, you should use the repositories of your distribution. Adding\r
39 third-party repositories to your <tt>/etc/sources.list</tt> has security implications\r
40 and makes your <tt>apt-get update</tt> take longer. However, in some cases, using our\r
41 repositories makes sense:</p></div>\r
42 <div class="dlist"><dl>\r
43 <dt class="hdlist1">\r
44 You are using Debian stable\r
45 </dt>\r
46 <dd>\r
47 <p>\r
48     The latest version of i3 will be in Debian testing quite soon. The version\r
49     in Debian stable can be old, however (we cannot update it after stable has\r
50     been released). The best way is to add Debian testing and tell <tt>apt</tt> to\r
51     prefer Debian stable. You should <strong>not</strong> use our repository.\r
52 </p>\r
53 </dd>\r
54 <dt class="hdlist1">\r
55 You are using Ubuntu\r
56 </dt>\r
57 <dd>\r
58 <p>\r
59     Only a handful of packages are maintained by Ubuntu developers. The rest is\r
60     synchronized periodically from Debian, every 6 months. Therefore, Ubuntu\r
61     often includes old versions of i3. You should use our Ubuntu repository.\r
62 </p>\r
63 </dd>\r
64 <dt class="hdlist1">\r
65 You want the latest i3 development version\r
66 </dt>\r
67 <dd>\r
68 <p>\r
69     If you are using Debian (Debian-derived systems might work, too) and want\r
70     the latest development version of i3, you should use our Debian repository.\r
71 </p>\r
72 </dd>\r
73 </dl></div>\r
74 </div>\r
75 </div>\r
76 <div class="sect1">\r
77 <h2 id="_ubuntu_repository">2. Ubuntu repository</h2>\r
78 <div class="sectionbody">\r
79 <div class="paragraph"><p>The Ubuntu repository is provided by sur5r and contains the latest stable release\r
80 of i3. To use it, run the following commands:</p></div>\r
81 <div class="listingblock">\r
82 <div class="content">\r
83 <pre><tt># echo 'deb http://debian.sur5r.net/i3/ karmic universe' &gt;&gt; /etc/apt/sources.list\r
84 # apt-get update\r
85 # apt-get install i3</tt></pre>\r
86 </div></div>\r
87 </div>\r
88 </div>\r
89 <div class="sect1">\r
90 <h2 id="_debian_repository">3. Debian repository</h2>\r
91 <div class="sectionbody">\r
92 <div class="paragraph"><p>Our Debian repository contains packages which are automatically built a few\r
93 minutes after every commit. To use it, run the following commands:</p></div>\r
94 <div class="listingblock">\r
95 <div class="content">\r
96 <pre><tt># echo 'deb http://build.i3wm.org/debian/i3-wm sid main' &gt;&gt; /etc/apt/sources.list\r
97 # apt-get update\r
98 # apt-get install i3-wm</tt></pre>\r
99 </div></div>\r
100 <div class="paragraph"><p>To ensure that the autobuilt i3 packages will be preferred to the packages of\r
101 your distribution, put the following entry <strong>at the beginning</strong> of your\r
102 <tt>/etc/apt/preferences</tt>:</p></div>\r
103 <div class="listingblock">\r
104 <div class="content">\r
105 <pre><tt>Package: *\r
106 Pin: origin "build.i3wm.org"\r
107 Pin-Priority: 1001</tt></pre>\r
108 </div></div>\r
109 <div class="paragraph"><p>Then, install <tt>i3-wm</tt>.</p></div>\r
110 </div>\r
111 </div>\r
112 </div>\r
113 <div id="footnotes"><hr /></div>\r
114 <div id="footer" lang="de">\r
115 © 2009-2011 Michael Stapelberg, <a href="/impress.html">Impressum</a>\r
116 </div>\r
117 </body>\r
118 </html>\r