CentOS 6.5安装Node.js, npm
2014-03-13 20:26
656 查看
CentOS上可以通过下载*.tar.gz安装包的方式自己解压缩、编译的方式安装,同时还可以采用EPEL的方式安装:
Node.js and npm are available from the Fedora Extra Packages for Enterprise Linux (EPEL) repository. If you haven't already done so, firstenable EPEL.
To check if you have EPEL, run
if you don't see epel, install it via RPM (At the time of this writing, the last version is 6.8.)
And then run the following command to install node and npm:
or if this doesn't work for you install node separately:
参考:https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
Node.js and npm are available from the Fedora Extra Packages for Enterprise Linux (EPEL) repository. If you haven't already done so, firstenable EPEL.
To check if you have EPEL, run
yum repolist
if you don't see epel, install it via RPM (At the time of this writing, the last version is 6.8.)
rpm -Uvh http://download-i2.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
And then run the following command to install node and npm:
sudo yum install nodejs npm --enablerepo=epel
or if this doesn't work for you install node separately:
sudo yum install npm --enablerepo=epel
参考:https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
相关文章推荐
- CentOS 6.5 安装Node.js v8.9.4
- CentOS 7.0安装Node.js、npm、htop、pm2
- centos 5.4 安装nodejs + npm
- 在CentOS 7上安装Node.js的4种方法(包含npm)
- centos 5.4 安装nodejs + npm(转)
- CentOS 6.5 安装Node.js
- centos 5.4 安装nodejs + npm
- Yum安装nodejs + npm之CetnOS 6.5
- centOS下通过NPM安装和配置node.js+socket.io+connect在线聊天的详细教程
- node.js 安装 步骤(记录) 系统版本:腾讯云CentOS6.5
- Centos6.5 安装 node.js
- 虚拟机下的CentOS环境中安装Node.js和npm
- nodejs&&npm安装
- Centos安装Node.js简单方法
- Ubuntu 中安装最新版的 Node.js 和 npm
- CentOS上安装Node.js--v8.9.0
- Windows环境下的NodeJS+NPM+GIT+Bower安装配置步骤
- nodejs npm install全局安装和本地安装的区别
- Node.js 笔记(一) nodejs、npm、express安装
- centos/linux 安装node.js