Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm about to install node.js (Question about installing). It says that I have to install some packages first for using git and stuff if I'm running a clean server, which I actaully do:

sudo apt-get install g++ curl libssl-dev apache2-utils git-core

Okay - everything's good so far. But why should I install some apache stuff, when I only want to use node.js?

Do I really need that?


This question is only relevant for people, who want to compile node themselves. I recommend using the simpler and safer apt-get method.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The name apache2-utils is misleading. It is not a part of the Apache server. Apache just depends on stuff that you can find in this package. As it turns out, the compiler (or node itself) depends on the same utilities.

This means, that after the compilation and installation of node apache2-utils can be safely removed via sudo apt-get remove apache-2utils. This applies to the other packages aswell. However I don't recommend removing any of the packages. You will likely want to recompile node as soon as there's a new version.

tl;dr You're doing nothing wrong, when installing apache2-utils. It is a package of utilities, needed for compiling node. You can remove it after compilation.

share|improve this answer
    
I add the link for the Ubuntu package for convenience, but I think your Squeeze version fits better in this case. –  lgarzo Feb 10 '13 at 21:30
    
Thank you. Yeah, Squeeze is more descriptive here. –  buschtoens Feb 10 '13 at 22:38

Your Answer

 
discard

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.