Install Node.js
Go to Github Joyent page:
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
------- Below is the previous old way to install ------
Environment: Linux, CentOS
Command line:
1) Install gcc
$ yum install gcc-c++
2) Install SSL & Open SSL Dev. package
$ sudo yum -y install openssl-devel
3) download node.js files and unzip it
$ curl -O http://nodejs.org/dist/node-v0.4.6.tar.gz
$ tar -xzf node-v0.4.6.tar.gz
4) Rename the unzipped folder name to just "nodejs"
$ cd nodejs
$ sudo ./configure
$ sudo make$ sudo make install
** Make usually takes a very long time.
----------------------------------------------------------------------
Environment: Linux, Ubuntu
Command line:
1) Install gcc
$ sudo apt-get install build-essential
2) Install SSL & Open SSL Dev. package
$ sudo apt-get install libssl-dev
3) download node.js files and unzip it$ curl -O http://nodejs.org/dist/node-v0.4.6.tar.gz
$ tar -xzf node-v0.4.6.tar.gz
4) Rename the unzipped folder name to just "nodejs"
$ cd nodejs
$ sudo ./configure
$ sudo make$ sudo make install
** Make usually takes a very long time.
*** Please keep updating your apt-get often.
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
------- Below is the previous old way to install ------
Environment: Linux, CentOS
Command line:
1) Install gcc
$ yum install gcc-c++
2) Install SSL & Open SSL Dev. package
$ sudo yum -y install openssl-devel
3) download node.js files and unzip it
$ curl -O http://nodejs.org/dist/node-v0.4.6.tar.gz
$ tar -xzf node-v0.4.6.tar.gz
4) Rename the unzipped folder name to just "nodejs"
$ cd nodejs
$ sudo ./configure
$ sudo make$ sudo make install
** Make usually takes a very long time.
----------------------------------------------------------------------
Environment: Linux, Ubuntu
Command line:
1) Install gcc
$ sudo apt-get install build-essential
2) Install SSL & Open SSL Dev. package
$ sudo apt-get install libssl-dev
3) download node.js files and unzip it$ curl -O http://nodejs.org/dist/node-v0.4.6.tar.gz
$ tar -xzf node-v0.4.6.tar.gz
4) Rename the unzipped folder name to just "nodejs"
$ cd nodejs
$ sudo ./configure
$ sudo make$ sudo make install
** Make usually takes a very long time.
*** Please keep updating your apt-get often.