Installing Node.js on Centos 5
Nothing's ever straightforward in the world of CentOS, especially for CentOS 5 now in mid-sunset.
- Make sure you have python 2.6 installed. Do not uninstall python 2.4 as everything seems to need it.
yum install python26. This should give you an executable
pythonas the 2.4 version.
- Download the latest and greatest node package:
wget http://nodejs.org/dist/node-latest.tar.gz; tar zxvf node-latest.tar.gz
- cd into the new node dir (this will be unique to the current version).
./configure; make; sudo make install
- Have fun with node!