This article describes what I did to compile and install nodejs on debian lenny running at linode.
For some reason,apt-get
did not properly work for me,the first thing was that I did not havecurl
installed but tring to install it did not work.
to make a long (very long) story short, turns out I was unable to install curl because I had a problem with the PGP keys for the debian archives.
This comment was the one that led my to:
aptitude install debian-keyring debian-archive-keyring.
following this fix and a successful apt-get update I was able to runapt-get install curl
create yourself a folder for the scripts you plan to write.