Instructions

Using Dotdeb is very simple:

  1. For the main Dotdeb repository, add these two lines to your /etc/apt/sources.list file (choosing a mirror near you) :
  2. deb http://packages.dotdeb.org stable all
    deb-src http://packages.dotdeb.org stable all

    If you want to install PHP 5.3 on your Debian Lenny box, add these two additionnal lines :

    deb http://php53.dotdeb.org stable all
    deb-src http://php53.dotdeb.org stable all
  3. Then fetch the appropriate GnuPG key
    gpg --keyserver keys.gnupg.net --recv-key 89DF5277
    gpg -a --export 89DF5277 | 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/.