Installing NodeJS on CentOS 5 without Compiling

The EPEL repo for CentOS 5.x doesn’t include node. So it’s either compile or grab the precompiled executable. The latter is a lot faster.

1. Download the tar file from Nodejs.org:

1
wget http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz

2. extract

1
tar xvf node-v0.10.26-linux-x64.tar.gz

3. remove files and copy

1
2
3
cd node-v0.10.26-linux-x64
rm ChangeLog && rm LICENSE && rm README.md
cp -r . /usr/
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *