linux 命令缺失安装 nodejs

  1. wget :yum install wget wet命令安装
  2. configure: error: no acceptable C compiler found in $PATH See `config.log’ for more details.
    你的机器里没有安装任何C语言编译器,可以安装gcc。 可以在安装盘里找到gcc相关的包进行安装,不过会比较繁琐,因为关联的包会比较多。 如果可以上网,使用yum安装是比较好的选择: yum install gcc
    因为是centos linux,默认可以采用yum方式安装,则采用如下命令安装gcc编译器即可:
    yum -y install gc
    3.make是gcc的编译器,VPS买来必定要安装
    安装:

yum -y install gcc automake autoconf libtool make

安装g++:

yum install gcc-c++
二、
curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -

0.10

你可能感兴趣的:(linux,nodejs)