Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used to use this method for node.js installation on Debian, since it was easy and everything worked fine. Even with multiple users.

Since version 0.6.18~dfsg1-1 of the sid package, installation removes openssh-server. But I need OpenSSH to connect to my server.

Is there any possibility to install Node.js via APT or do I have to compile it manually?

This is my APT preferences file:

Package: *
Pin: release a=stable
Pin-Priority: 800

Package: *
Pin: release a=testing
Pin-Priority: 650

Package: *
Pin: release a=unstable
Pin-Priority: 600
share|improve this question
can you show your apt/preferences file? – DukeLion May 21 '12 at 10:54
Okay. Does it help? – pvorb May 21 '12 at 11:15
yeah, try lowering unstable pin priority to lower than 500. Or try aptitude install nodejs/unstable – DukeLion May 21 '12 at 11:28
oh, I see that nodejs/sid depends on libc6 >= 2.13-28. That means it is not useful in squeeze. You will need to compile your own backported version of NodeJS – DukeLion May 21 '12 at 11:30
up vote 1 down vote accepted

I just used the technique described on the nodejs wiki.

tar -zxf node-v0.6.18.tar.gz
cd node-v0.6.18
sudo make install

This was not the solution I wanted, but it solves my problem.

share|improve this answer

This seems to be useful in your case

share|improve this answer
In the case of links offsite, it's usually more useful to summarise the answer presented in the link (obviously, don't just copy and paste) in case the linked to website vanishes, at which point there's no detail in your answer to help with the question. – EightBitTony May 21 '12 at 13:24
This technique didn't help. I wanted to build the deps, but there’s no sufficient version of libv8 available at the moment. – pvorb Jun 1 '12 at 10:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.