3
1
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.
3
1
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.
2
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
.
"E: Couldn't find package nodejs", getting this. – Riz – 2012-09-11T10:29:18.207
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 – 2012-09-11T10:33:42.850Anyway to handle this in Ubuntu 9.10 ??? My problem has been solved, I am just curious and wanna learn more. – Riz – 2012-09-11T11:05:09.443
@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 – 2012-09-11T11:11:02.943