如何在linux中从源代码编译安装nodejs?

$ sudo yum groupinstall 'Development Tools'安装开发环境
$ wget http://nodejs.org/dist/node-latest.tar.gz
$ tar xvfvz node-latest.tar.gz
$ cd node-v0.10.21 (replace a version with your own)
$ ./configure
$ make
$ sudo make install

你可能感兴趣的:(nodejs)