]> git.sur5r.net Git - i3/i3.github.io/blob - docs/4.13/repositories.html
save docs for 4.13
[i3/i3.github.io] / docs / 4.13 / 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 <link rel="icon" type="image/x-icon" href="/favicon.ico">\r
6 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
7 <meta name="generator" content="AsciiDoc 8.6.9" />\r
8 <title>i3: Debian and Ubuntu repositories</title>\r
9 <link rel="stylesheet" href="/css/style.css" type="text/css" />\r
10 <link rel="stylesheet" href="/css/xhtml11.css" type="text/css" />\r
11 <script type="text/javascript">\r
12 /*<![CDATA[*/\r
13 document.addEventListener("DOMContentLoaded", function(){asciidoc.footnotes();}, false);\r
14 /*]]>*/\r
15 </script>\r
16 <script type="text/javascript" src="/js/asciidoc-xhtml11.js"></script>\r
17 </head>\r
18 <body class="article">\r
19 \r
20         <div id="main">\r
21             <a href="/"><h1 id="title">i3 - improved tiling WM</h1></a>\r
22                         <ul id="nav">\r
23                                 <li><a style="border-bottom: 2px solid #fff" href="/docs">Docs</a></li>\r
24                                 <li><a href="/screenshots">Screens</a></li>\r
25                                 <li><a href="https://www.reddit.com/r/i3wm/">FAQ</a></li>\r
26                                 <li><a href="/contact">Contact</a></li>\r
27                                 <li><a href="https://github.com/i3/i3/issues">Bugs</a></li>\r
28                         </ul>\r
29         <br style="clear: both">\r
30 <div id="content">\r
31 <div id="header">\r
32 <h1>Debian and Ubuntu repositories</h1>\r
33 <span id="author">Michael Stapelberg</span><br />\r
34 <span id="email"><tt>&lt;<a href="mailto:michael@i3wm.org">michael@i3wm.org</a>&gt;</tt></span><br />\r
35 <span id="revdate">September 2016</span>\r
36 </div>\r
37 <div class="sect1">\r
38 <h2 id="_when_should_you_use_our_repositories">1. When should you use our repositories?</h2>\r
39 <div class="sectionbody">\r
40 <div class="paragraph"><p>In general, you should use the repositories of your distribution. Adding\r
41 third-party repositories to your <tt>/etc/sources.list</tt> has security implications\r
42 and makes your <tt>apt-get update</tt> take longer.</p></div>\r
43 <div class="dlist"><dl>\r
44 <dt class="hdlist1">\r
45 If you are using Debian stable\r
46 </dt>\r
47 <dd>\r
48 <p>\r
49     The latest version of i3 will be in Debian testing quite soon. The version\r
50     in Debian stable can be old, however (we cannot update it after stable has\r
51     been released). The best way is to add Debian testing and tell <tt>apt</tt> to\r
52     prefer Debian stable. You should <strong>not</strong> use our repository.\r
53     Alternatively, you can also use\r
54     <a href="http://backports.debian.org/">stable-backports (e.g. wheezy-backports for\r
55     Debian wheezy)</a>.\r
56 </p>\r
57 </dd>\r
58 <dt class="hdlist1">\r
59 If you are using Ubuntu\r
60 </dt>\r
61 <dd>\r
62 <p>\r
63     Only a handful of packages are maintained by Ubuntu developers. The rest is\r
64     synchronized periodically from Debian, every 6 months. Therefore, Ubuntu\r
65     often includes old versions of i3. You should use our Ubuntu repository.\r
66 </p>\r
67 </dd>\r
68 <dt class="hdlist1">\r
69 If you want the latest i3 development version\r
70 </dt>\r
71 <dd>\r
72 <p>\r
73     If you are using Debian (Debian-derived systems might work, too) or Ubuntu\r
74     and want the latest development version of i3, you should use our Debian\r
75     repository.\r
76 </p>\r
77 </dd>\r
78 </dl></div>\r
79 </div>\r
80 </div>\r
81 <div class="sect1">\r
82 <h2 id="_ubuntu_repository">2. Ubuntu repository</h2>\r
83 <div class="sectionbody">\r
84 <div class="sect2">\r
85 <h3 id="_stable_releases">2.1. Stable releases</h3>\r
86 <div class="paragraph"><p>This Ubuntu repository is provided by sur5r and contains the latest stable\r
87 release of i3. To use it, run the following commands:</p></div>\r
88 <div class="listingblock">\r
89 <div class="content">\r
90 <pre><tt>$ /usr/lib/apt/apt-helper download-file http://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2017.01.02_all.deb keyring.deb SHA256:4c3c6685b1181d83efe3a479c5ae38a2a44e23add55e16a328b8c8560bf05e5f\r
91 # dpkg -i ./keyring.deb\r
92 # echo "deb http://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" &gt;&gt; /etc/apt/sources.list.d/sur5r-i3.list\r
93 # apt update\r
94 # apt install i3</tt></pre>\r
95 </div></div>\r
96 <div class="paragraph"><p>All Ubuntu versions which are currently supported by Ubuntu itself are also supported by\r
97 this repository. See <a href="https://wiki.ubuntu.com/Releases">Ubuntu releases</a> for details.</p></div>\r
98 <div class="paragraph"><p>Packages for unsupported Ubuntu versions might exist but may disappear any time.</p></div>\r
99 </div>\r
100 <div class="sect2">\r
101 <h3 id="_development_releases">2.2. Development releases</h3>\r
102 <div class="paragraph"><p>This Ubuntu repository contains packages which are automatically built a few\r
103 minutes after every commit. To use it, run the following commands:</p></div>\r
104 <div class="listingblock">\r
105 <div class="content">\r
106 <pre><tt>$ /usr/lib/apt/apt-helper download-file http://dl.bintray.com/i3/i3-autobuild-ubuntu/pool/main/i/i3-autobuild-keyring/i3-autobuild-keyring_2016.10.01_all.deb keyring.deb SHA256:460e8c7f67a6ae7c3996cc8a5915548fe2fee9637b1653353ec62b954978d844\r
107 # dpkg -i ./keyring.deb\r
108 # echo 'deb http://dl.bintray.com/i3/i3-autobuild-ubuntu xenial main' &gt; /etc/apt/sources.list.d/i3-autobuild.list\r
109 # apt update\r
110 # apt install i3</tt></pre>\r
111 </div></div>\r
112 <div class="paragraph"><p>Development versions are only available for the latest version of Ubuntu, which\r
113 is xenial at the moment.</p></div>\r
114 </div>\r
115 </div>\r
116 </div>\r
117 <div class="sect1">\r
118 <h2 id="_debian_repository">3. Debian repository</h2>\r
119 <div class="sectionbody">\r
120 <div class="paragraph"><p>Our Debian repository contains packages which are automatically built a few\r
121 minutes after every commit. To use it, run the following commands:</p></div>\r
122 <div class="listingblock">\r
123 <div class="content">\r
124 <pre><tt>$ /usr/lib/apt/apt-helper download-file http://dl.bintray.com/i3/i3-autobuild/pool/main/i/i3-autobuild-keyring/i3-autobuild-keyring_2016.10.01_all.deb keyring.deb SHA256:460e8c7f67a6ae7c3996cc8a5915548fe2fee9637b1653353ec62b954978d844\r
125 # dpkg -i ./keyring.deb\r
126 # echo 'deb http://dl.bintray.com/i3/i3-autobuild sid main' &gt; /etc/apt/sources.list.d/i3-autobuild.list\r
127 # apt update\r
128 # apt install i3</tt></pre>\r
129 </div></div>\r
130 </div>\r
131 </div>\r
132 <div class="sect1">\r
133 <h2 id="_preferring_the_autobuilder_version_of_i3">4. Preferring the autobuilder version of i3</h2>\r
134 <div class="sectionbody">\r
135 <div class="paragraph"><p>On installations where you have multiple sources (stable and testing, or\r
136 testing and unstable for example), <tt>apt-get install i3</tt> might not get you the\r
137 autobuilder version.</p></div>\r
138 <div class="paragraph"><p>To ensure that the autobuilt i3 packages will be preferred to the packages of\r
139 your distribution, create the file\r
140 <tt>/etc/apt/preferences.d/00-i3-autobuild.pref</tt> with the following contents:</p></div>\r
141 <div class="listingblock">\r
142 <div class="content">\r
143 <pre><tt>Package: i3*\r
144 Pin: origin "dl.bintray.com"\r
145 Pin-Priority: 1001</tt></pre>\r
146 </div></div>\r
147 <div class="paragraph"><p>Then, run <tt>apt-get update</tt> and install <tt>i3</tt>.</p></div>\r
148 </div>\r
149 </div>\r
150 </div>\r
151 <div id="footnotes"><hr /></div>\r
152 <div id="footer" lang="de">\r
153 © 2009-2011 Michael Stapelberg, <a href="/impress.html">Impressum</a>\r
154 </div>\r
155 </body>\r
156 </html>\r