Centos6.5安装Node.js方法

 时间:2026-02-17 12:06:39

1、操作系统为centos6.5 64位

Centos6.5安装Node.js方法

2、获取密钥文件

Centos6.5安装Node.js方法

3、导入密钥文件

Centos6.5安装Node.js方法

4、获取Remi源文件

Centos6.5安装Node.js方法

5、安装remi源,如果采用rpm的方法安装会因为依赖关系报错

[root@localhost ~]# rpm -Uvh remi-release-6.rpm 

error: Failed dependencies:

epel-release = 6 is needed by remi-release-6.9-1.el6.remi.noarch

所以采用yum的方式安装

yum install remi-release-6.rpm

Centos6.5安装Node.js方法

6、如果步骤5成功,会产生下述文件remi的yum源

Centos6.5安装Node.js方法

7、指定epel源进行安装

yum --enablerepo=epel install npm

Centos6.5安装Node.js方法

Centos6.5安装Node.js方法

  • CentOS如何安装Node.js?
  • 在CentOS 6.5上安装php
  • CentOS6.5安装PHP 7
  • 在CentOS 6.5上安装SVN
  • CentOS6.5安装svn
  • 热门搜索
    怎么制作视频短片 engineer怎么读 紫菜汤的家常做法 离职申请书怎么写 电子版照片怎么弄 怀孕为什么会呕吐 个人主要事迹怎么写 手机服务密码怎么查 李雪健说话怎么回事 苏康码怎么弄