How do I install node.js in Centos ?

Within this article we will show you how to compile node.js, version 0.10.25.

Note : This article is meant as a quick, and short guide rather then full blown tutorial.

Install Dependencies

yum install bzip2 gcc gcc-c++ sqlite sqlite-devel

Download

wget http://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz

Extract

tar xvfz node-v0.10.25.tar.gz cd node-v0.10.25

Compile

./configure make  make install

 

Rick Donato

Want to become a Linux expert?

Here is our hand-picked selection of the best courses you can find online:
Linux Mastery course
Linux Administration Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial