Instructions

Using Dotdeb is very simple:

  1. For the main Dotdeb repository, depending on your distribution (lenny/oldstable or squeeze/stable), add these two lines to your /etc/apt/sources.list file (choosing a mirror near you) :
    • Squeeze :
      deb http://packages.dotdeb.org stable all
      deb-src http://packages.dotdeb.org stable all
    • Lenny :
      deb http://packages.dotdeb.org oldstable all
      deb-src http://packages.dotdeb.org oldstable all
  2. (Optional) If you’re running Debian 5.0 “Lenny” and you want PHP 5.3 instead of the default PHP 5.2, add these two additionnal lines too :
    deb http://php53.dotdeb.org oldstable all
    deb-src http://php53.dotdeb.org oldstable all

    You don’t need this if you’re running Debian 6.0 “Squeeze” : PHP 5.3 is the default branch

  3. Then fetch the appropriate GnuPG key
    wget http://www.dotdeb.org/dotdeb.gpg
    cat dotdeb.gpg | sudo apt-key add -
  4. RunĀ apt-get update
  5. You should now be able to use the Dotdeb packages with apt-get (or dselect, or aptitude as well…)

Note : old packages are kept on http://archives.dotdeb.org/.