From 0d6860bb6fc02d14b3f5c773f0a2c4248463bb48 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 27 Apr 2011 11:07:54 -0400 Subject: [PATCH] drastically simplify instructions for debian stable :) --- doc/install/Debian.mdwn | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/doc/install/Debian.mdwn b/doc/install/Debian.mdwn index e9b04dc557..db1329b45b 100644 --- a/doc/install/Debian.mdwn +++ b/doc/install/Debian.mdwn @@ -1,24 +1,8 @@ If using Debian testing or unstable: - sudo apt-get install git-annex +* `sudo apt-get install git-annex` -### Debian stable +If using Debian 6.0 stable: -git-annex is not yet in a Debian stable release, and nobody has backported it -(yet?), but the source can be built from Debian stable. - -First, install build dependencies. Package names have changed since -Debian stable, so this must be done by hand, rather than by using -`dpkg-checkbuilddeps`: - - sudo apt-get install debhelper ghc6 libghc6-missingh-dev \ - libghc6-pcre-light-dev libghc6-sha-dev \ - libghc6-dataenc-dev libghc6-utf8-string-dev \ - libghc6-testpack-dev - -Then [[download]] git-annex it from git. - -In the `git-annex` directory, run `sudo debian/rules binary` to build -a `git-annex.deb`. - -Note that S3 support will not be available when building on stable. +* Follow the instructions to [enable backports](http://backports.debian.org/Instructions/). +* `sudo apt-get -t squeeze-backports install git-annex`