1

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
4
  • can you show your apt/preferences file?
    – DukeLion
    May 21, 2012 at 10:54
  • Okay. Does it help?
    – pvorb
    May 21, 2012 at 11:15
  • yeah, try lowering unstable pin priority to lower than 500. Or try aptitude install nodejs/unstable
    – DukeLion
    May 21, 2012 at 11:28
  • 1
    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, 2012 at 11:30

2 Answers 2

1

I just used the technique described on the nodejs wiki.

wget http://nodejs.org/dist/v0.6.18/node-v0.6.18.tar.gz
tar -zxf node-v0.6.18.tar.gz
cd node-v0.6.18
./configure
make
sudo make install

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

-2

This seems to be useful in your case

2
  • 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. May 21, 2012 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, 2012 at 10:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .