Make Command is taking too long
5,559
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
.
Related videos on Youtube
Author by
Riz
Updated on September 18, 2022Comments
-
Riz over 1 year
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. -
Riz over 11 years"E: Couldn't find package nodejs", getting this.
-
gertvdijk over 11 yearsIt 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). -
Riz over 11 yearsAnyway to handle this in Ubuntu 9.10 ??? My problem has been solved, I am just curious and wanna learn more.
-
gertvdijk over 11 years@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.