]> git.sur5r.net Git - i3/i3.github.io/blob - _docs/repositories
update docs/repositories with the new ubuntu autobuilder version
[i3/i3.github.io] / _docs / repositories
1 Debian and Ubuntu repositories
2 ==============================
3 Michael Stapelberg <michael@i3wm.org>
4 July 2013
5
6 == When should you use our repositories?
7
8 In general, you should use the repositories of your distribution. Adding
9 third-party repositories to your +/etc/sources.list+ has security implications
10 and makes your +apt-get update+ take longer. However, in some cases, using our
11 repositories makes sense:
12
13 You are using Debian stable::
14     The latest version of i3 will be in Debian testing quite soon. The version
15     in Debian stable can be old, however (we cannot update it after stable has
16     been released). The best way is to add Debian testing and tell +apt+ to
17     prefer Debian stable. You should *not* use our repository.
18     Alternatively, you can also use
19     link:http://backports.debian.org/[stable-backports (e.g. wheezy-backports for
20     Debian wheezy)].
21 You are using Ubuntu::
22     Only a handful of packages are maintained by Ubuntu developers. The rest is
23     synchronized periodically from Debian, every 6 months. Therefore, Ubuntu
24     often includes old versions of i3. You should use our Ubuntu repository.
25 You want the latest i3 development version::
26     If you are using Debian (Debian-derived systems might work, too) or Ubuntu
27     and want the latest development version of i3, you should use our Debian
28     repository.
29
30 == Ubuntu repository
31
32 === Stable releases
33
34 This Ubuntu repository is provided by sur5r and contains the latest stable
35 release of i3. To use it, run the following commands:
36
37 ---------------------------------------------------------------------------------
38 # echo "deb http://debian.sur5r.net/i3/ $(lsb_release -c -s) universe" >> /etc/apt/sources.list
39 # apt-get update
40 # apt-get --allow-unauthenticated install sur5r-keyring
41 # apt-get update
42 # apt-get install i3
43 ---------------------------------------------------------------------------------
44
45 The following Ubuntu versions are currently available: oneiric, precise, quantal,
46 raring.
47
48 === Development releases
49
50 This Ubuntu repository contains packages which are automatically built a few
51 minutes after every commit. To use it, run the following commands:
52
53 ---------------------------------------------------------------------------------
54 # echo 'deb http://build.i3wm.org/ubuntu/raring raring main' >> /etc/apt/sources.list
55 # apt-get update
56 # apt-get --allow-unauthenticated install i3-autobuild-keyring
57 # apt-get update
58 # apt-get install i3
59 ---------------------------------------------------------------------------------
60
61 Development versions are only available for the latest version of Ubuntu, which
62 is raring at the moment.
63
64 == Debian repository
65
66 Our Debian repository contains packages which are automatically built a few
67 minutes after every commit. To use it, run the following commands:
68
69 ---------------------------------------------------------------------------------
70 # echo 'deb http://build.i3wm.org/debian/sid sid main' > /etc/apt/sources.list.d/i3-autobuild.list
71 # apt-get update
72 # apt-get --allow-unauthenticated install i3-autobuild-keyring
73 # apt-get update
74 # apt-get install i3
75 ---------------------------------------------------------------------------------
76
77 == Preferring the autobuilder version of i3
78
79 On installations where you have multiple sources (stable and testing, or
80 testing and unstable for example), +apt-get install i3+ might not get you the
81 autobuilder version.
82
83 To ensure that the autobuilt i3 packages will be preferred to the packages of
84 your distribution, create the file
85 +/etc/apt/preferences.d/00-i3-autobuild.pref+ with the following contents:
86
87 ----------------------------
88 Package: i3*
89 Pin: origin "build.i3wm.org"
90 Pin-Priority: 1001
91 ----------------------------
92
93 Then, run +apt-get update+ and install +i3+.