Ubuntu,源码安装Node.js
2017-11-03 10:59
621 查看
Ubuntu,源码安装Node.js
Ubuntu Linux下安装Node.js,其他linux系统步骤类似Github获取源码
sudo git clone https://github.com/nodejs/node.git[/code]
修改目录权限sudo chmod -R 775 node
./configure命令创建编译文件cd nodesudo ./configure
make命令编译,时间较长sudo make
编译完成后sudo make install
查看是否安装成功node -v
[注] 安装之后,node版本汇为最新版本release,使用过程中会有WARN,提示最新版本不支持,但是不影响使用,最好还是转换稳定版。安装稳定版本如下:sudo npm install -g n[n 管理node版本]
升级node至稳定版sudo n table
升级npmsudo npm install npm -g
相关文章推荐
- ubuntu下安装Node.js(源码安装)
- Ubuntu上node.js源码安装 及最常见错误
- Linux、ubuntu14.04下源码安装node.js、express
- 【图文】Ubuntu系统源码方式编译安装node.js以及express安装出现找不到命令的问题
- Ubuntu Node.js 源码安装
- 在Ubuntu服务器上安装Node.js
- node.js源码安装
- ubuntu 下 安装 node.js
- node.js在Ubuntu 12.04下的安装和配置
- CentOS 源码安装 node.js
- ubuntu 安装node.js + express + mongodb
- ubuntu下安装Node.js
- ubuntu14.10下nodejs + npm + bower的安装
- 尝试后可以成功在Ubuntu安装node.js的方法
- Ubuntu 安装Node.js
- ubuntu安装nodejs+pomelo+webstrom
- ubuntu 中安装 nodejs+mongodb+redis
- Ubuntu 15.04下安装Node.JS的不同方式
- linux===Ubuntu 上安装 Node.js
- Ubuntu 16.04/CentOS 6.9安装Node.js 6.9.5