[Nginx][nginx] is available in [Debian Lenny][lenny], but the version in stable is the old 0.6.x series. [Perusio maintains a useful repository][perusio] with development versions built for Lenny, but it requires libraries newer than those in stable.
*UPDATED: fixed ‘build-essential’ – thank you Carlos*
But it is easy enough to build a [deb][deb] from the Perusio package which uses the stable libraries. Here are my notes. N.B. Editing the apt sources and installing packages needs root privileges.
First, add the Perusio repository to `/etc/apt/sources.list`:
cat >> /etc/apt/sources.list <
Thanks for the instructions! Just one note, the package is “build-essential” not “build-essentials” :D
Also, I had to install the debhelper package to run the dpkg-buildpackage command :)