]> git.sur5r.net Git - i3/i3.github.io/blob - _docs/repositories
add _docs/repositories, update hint on /downloads
[i3/i3.github.io] / _docs / repositories
1 Debian and Ubuntu repositories
2 ==============================
3 Michael Stapelberg <michael+i3@stapelberg.de>
4 July 2011
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 You are using Ubuntu::
19     Only a handful of packages are maintained by Ubuntu developers. The rest is
20     synchronized periodically from Debian, every 6 months. Therefore, Ubuntu
21     often includes old versions of i3. You should use our Ubuntu repository.
22 You want the latest i3 development version::
23     If you are using Debian (Debian-derived systems might work, too) and want
24     the latest development version of i3, you should use our Debian repository.
25
26 == Ubuntu repository
27
28 The Ubuntu repository is provided by sur5r and contains the latest stable release
29 of i3. To use it, run the following commands:
30
31 ---------------------------------------------------------------------------------
32 # echo 'deb http://debian.sur5r.net/i3/ karmic universe' >> /etc/apt/sources.list
33 # apt-get update
34 # apt-get install i3
35 ---------------------------------------------------------------------------------
36
37 == Debian repository
38
39 Our Debian repository contains packages which are automatically built a few
40 minutes after every commit. To use it, run the following commands:
41
42 ---------------------------------------------------------------------------------
43 # echo 'deb http://build.i3wm.org/debian/i3-wm sid main' >> /etc/apt/sources.list
44 # apt-get update
45 # apt-get install i3-wm
46 ---------------------------------------------------------------------------------
47
48 To ensure that the autobuilt i3 packages will be preferred to the packages of
49 your distribution, put the following entry *at the beginning* of your
50 +/etc/apt/preferences+:
51
52 ----------------------------
53 Package: *
54 Pin: origin "build.i3wm.org"
55 Pin-Priority: 1001
56 ----------------------------
57
58 Then, install +i3-wm+.