Verify Python 2.6 is ready to go. (Should print "Python 2.6.8")
$ python -V
Install Development Toolchain
$ sudo yum groupinstall "Development Tools"
Switch to home directory:
$ cd ~
Download Node 0.8.11 source tarball:
$ wget http://nodejs.org/dist/v0.8.11/node-v0.8.11.tar.gz
Untar:
$ tar -xzf node-v0.8.11.tar.gz
Switch to node directory:
$ cd node-v0.8.11
Run configure script with newly installed python binary
$ ./configure
Compile Node
$ make -j5
Install Node
$ sudo make install
Verify installation (should print "v0.8.11")
$ node --version
Make Node available via sudo
$ sudo ln -s /usr/local/bin/node /bin/node
$ sudo ln -s /usr/local/bin/node-wav /bin/node-waf
$ sudo ln -s /usr/local/bin/npm /bin/npm