So well, I have a vserver with Debian 6.0.
Now I would like to install Node.js, but none of the tutorials on the web seem to work. I have tried all of the results google gives me when I enter "install node.js on linux" I mostly failed because I had no idea how to install the dependencies (I'm new to linux btw)
How to install node.js on a Debian system that was just setup (so no programs already installed on it and such)?
If anyone else needs step-by-step instructions, I used the following steps from Install Node.js on Debian Squeeze and it installed with no problems:
sudo apt-get update && sudo apt-get install git-core curl build-essential openssl libssl-dev
git clone https://github.com/nodejs/node.git
cd node
git checkout v5.0.0
(or the version you want to build)./configure
make
sudo make install
node -v
npm -v
I didn't have to install any additional sources into apt to get it to build.