-
Notifications
You must be signed in to change notification settings - Fork 0
Building node from sources
ernoma edited this page May 15, 2013
·
1 revision
Node.js with NPM 1.2 or newer is required to build the project. For Ubuntu 12.04 LTS, visit page http://nodejs.org/download/ and download the source code package.
See the prequisites for the Node installation from https://github.com/joyent/node/wiki/Installation
and if necessary install them with apt-get, for example, sudo apt-get install make
. You will also
need g++.
Run: tar -zxf node-v0.X.X.tar.gz
, cd node-v0.X.X
,
sudo ./configure && sudo make && sudo make install
, and export PATH=$PATH:/usr/local/bin
.
You may want to add the export PATH=$PATH:/usr/local/bin
to .profile
file in your home directory,
so that the node is found automatically in future.