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

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

posted @ 2015-05-16 01:05  世有因果知因求果  阅读(316)  评论(0编辑  收藏  举报