Debian and Ubuntu repositories
==============================
-Michael Stapelberg <michael+i3@stapelberg.de>
-November 2011
+Michael Stapelberg <michael@i3wm.org>
+July 2013
== When should you use our repositories?
in Debian stable can be old, however (we cannot update it after stable has
been released). The best way is to add Debian testing and tell +apt+ to
prefer Debian stable. You should *not* use our repository.
+ Alternatively, you can also use
+ link:http://backports.debian.org/[stable-backports (e.g. wheezy-backports for
+ Debian wheezy)].
You are using Ubuntu::
Only a handful of packages are maintained by Ubuntu developers. The rest is
synchronized periodically from Debian, every 6 months. Therefore, Ubuntu
release of i3. To use it, run the following commands:
---------------------------------------------------------------------------------
-# echo 'deb http://debian.sur5r.net/i3/ natty universe' >> /etc/apt/sources.list
+# echo "deb http://debian.sur5r.net/i3/ $(lsb_release -c -s) universe" >> /etc/apt/sources.list
# apt-get update
# apt-get --allow-unauthenticated install sur5r-keyring
# apt-get update
# apt-get install i3
---------------------------------------------------------------------------------
-The following Ubuntu versions are currently available: maverick, natty, oneiric,
-precise.
+The following Ubuntu versions are currently available: oneiric, precise, quantal,
+raring, saucy, trusty.
=== Development releases
minutes after every commit. To use it, run the following commands:
---------------------------------------------------------------------------------
-# echo 'deb http://build.i3wm.org/ubuntu/oneiric oneiric main' >> /etc/apt/sources.list
+# echo 'deb http://build.i3wm.org/ubuntu/trusty trusty main' >> /etc/apt/sources.list
# apt-get update
# apt-get --allow-unauthenticated install i3-autobuild-keyring
# apt-get update
---------------------------------------------------------------------------------
Development versions are only available for the latest version of Ubuntu, which
-is oneiric at the moment.
+is trusty at the moment.
== Debian repository
minutes after every commit. To use it, run the following commands:
---------------------------------------------------------------------------------
-# echo 'deb http://build.i3wm.org/debian/sid sid main' >> /etc/apt/sources.list
+# echo 'deb http://build.i3wm.org/debian/sid sid main' > /etc/apt/sources.list.d/i3-autobuild.list
# apt-get update
# apt-get --allow-unauthenticated install i3-autobuild-keyring
# apt-get update
autobuilder version.
To ensure that the autobuilt i3 packages will be preferred to the packages of
-your distribution, put the following entry *at the beginning* of your
-+/etc/apt/preferences+:
+your distribution, create the file
++/etc/apt/preferences.d/00-i3-autobuild.pref+ with the following contents:
----------------------------
-Package: *
+Package: i3*
Pin: origin "build.i3wm.org"
Pin-Priority: 1001
----------------------------
-Then, install +i3+.
+Then, run +apt-get update+ and install +i3+.