node.js - installing nodejs without dependencies -


hi having ubuntu server not have internet connection. need install node , npm related packages it.i have source file of nodejs , node modules. there way install build essential package , python dependencies without using below code

sudo apt-get update sudo apt-get install build-essential -y sudo apt-get install python libssl-dev -y  

these commands hit external url impossible since there no internet connection.i stuck here.any helpful.

$tar -zxf node-v0.10.5.tar.gz  $cd node-v0.10.5 $./configure && make && sudo make install 

just download node first http://nodejs.org/download/

each npm package can stand alone, using npm on machine has connection, can move node_modules file modules new machine.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -