欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Linux centOS 系统安装nodejs(源码安装)

程序员文章站 2022-06-29 13:29:09
...

wget https://nodejs.org/dist/v6.10.3/node-v6.10.3.tar.gz

tar -zxf node-v6.10.3.tar.gz

cd node-v6.10.3

./configure

make && make install

报如下错误

which: no python2.7 in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/java/jdk1.8.0_171/bin:/usr/java/jdk1.8.0_171/jre/bin:/bin:/usr/prod/deploy/apache-maven-3.5.4/bin:/usr/prod/deploy/gitinstall/bin:/usr/prod/bin)
ERROR: Did not find a new enough assembler, install one or build with
       --openssl-no-asm.
       Please refer to BUILDING.md