Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to install NodeJS on Ubuntu, following http://howtonode.org/how-to-install-nodejs. When I ran make command, its taking too too long, printing lines after lines on screen. Is there any alternative to install NodeJS quickly.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try installing the package nodejs from Ubuntu's repository.

sudo apt-get install nodejs

In case you need a specific or more recent version that provided there, I recommend reading answers from this question instead.

Another alternative is to build it on a faster machine, running the same software versions (Ubuntu, libraries installed, etc.) as on your machine you want to deploy on. Then copy over all the files and only run the install target using make.

share|improve this answer
    
"E: Couldn't find package nodejs", getting this. –  Rizwan Sep 11 '12 at 10:29
    
It has been in Ubuntu since Natty (11.04) in the universe repository as can be seen from the link I posted. Check that you are running a recent version of Ubuntu and have the universe repository enabled (check 'Software Sources' for GUI systems or /etc/apt/sources.list for a headless machine). –  gertvdijk Sep 11 '12 at 10:33
    
Anyway to handle this in Ubuntu 9.10 ??? My problem has been solved, I am just curious and wanna learn more. –  Rizwan Sep 11 '12 at 11:05
    
@Rizwan Ubuntu 9.10 has been EOL'd since April 2011. I recommend you to upgrade instead. It will be hard to upgrade all the libraries node.js is depending on. –  gertvdijk Sep 11 '12 at 11:11

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.