OS:Ubuntu 12.04.3 LTS i386
step1:
create a root user by "sudo password -u"
$su
input your sudo password to enter the root;
step2:
root@zck:~# cd /usr/local/src/
enter /usr/local/src/
step3:
root@zck:~# wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz
step4:
root@zck:~# tar xvf node-v0.10.26.tar.gz
root@zck:~# cd node-v0.10.26
root@zck:~# ./configure
root@zck:~# apt-get install make
root@zck:~# apt-get install g++
root@zck:~# make
root@zck:~# make install
root@zck:~# cp usr/local/bin/node /usr/sbin/
root@zck:~# node -v
v0.10.26
Finished! ^ _ ^