]> git.sur5r.net Git - i3/i3.github.io/blob - _docs/repositories
Update docs/repositories for quantal ubuntu repository
[i3/i3.github.io] / _docs / repositories
1 Debian and Ubuntu repositories
2 ==============================
3 Michael Stapelberg <michael@i3wm.org>
4 August 2012
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) or Ubuntu
24     and want the latest development version of i3, you should use our Debian
25     repository.
26
27 == Ubuntu repository
28
29 === Stable releases
30
31 This Ubuntu repository is provided by sur5r and contains the latest stable
32 release of i3. To use it, run the following commands:
33
34 ---------------------------------------------------------------------------------
35 # echo "deb http://debian.sur5r.net/i3/ $(lsb_release -c -s) universe" >> /etc/apt/sources.list
36 # apt-get update
37 # apt-get --allow-unauthenticated install sur5r-keyring
38 # apt-get update
39 # apt-get install i3
40 ---------------------------------------------------------------------------------
41
42 The following Ubuntu versions are currently available: maverick, natty, oneiric,
43 precise, quantal.
44
45 === Development releases
46
47 This Ubuntu repository contains packages which are automatically built a few
48 minutes after every commit. To use it, run the following commands:
49
50 ---------------------------------------------------------------------------------
51 # echo 'deb http://build.i3wm.org/ubuntu/precise precise main' >> /etc/apt/sources.list
52 # apt-get update
53 # apt-get --allow-unauthenticated install i3-autobuild-keyring
54 # apt-get update
55 # apt-get install i3
56 ---------------------------------------------------------------------------------
57
58 Development versions are only available for the latest version of Ubuntu, which
59 is precise at the moment.
60
61 == Debian repository
62
63 Our Debian repository contains packages which are automatically built a few
64 minutes after every commit. To use it, run the following commands:
65
66 ---------------------------------------------------------------------------------
67 # echo 'deb http://build.i3wm.org/debian/sid sid main' > /etc/apt/sources.list.d/i3-autobuild.list
68 # apt-get update
69 # apt-get --allow-unauthenticated install i3-autobuild-keyring
70 # apt-get update
71 # apt-get install i3
72 ---------------------------------------------------------------------------------
73
74 == Preferring the autobuilder version of i3
75
76 On installations where you have multiple sources (stable and testing, or
77 testing and unstable for example), +apt-get install i3+ might not get you the
78 autobuilder version.
79
80 To ensure that the autobuilt i3 packages will be preferred to the packages of
81 your distribution, create the file
82 +/etc/apt/preferences.d/00-i3-autobuild.pref+ with the following contents:
83
84 ----------------------------
85 Package: i3*
86 Pin: origin "build.i3wm.org"
87 Pin-Priority: 1001
88 ----------------------------
89
90 Then, run +apt-get update+ and install +i3+.