从源码安装Node

  Nodejs官网未并提供i686架构的bin,为了在i686架构cpu下使用Nodejs,需要从源码编译。

  1、./configure

  2、make

  3、make install 

  install后,node相关文件会被放置在/opt目录下,而在/usr/local/bin下会建立node、npm的软链。

参考:

1、https://github.com/nodejs/node/blob/master/BUILDING.md2

2、http://www.linuxidc.com/Linux/2014-05/101418.htm

相关文章:

  • 2022-01-07
  • 2021-09-21
  • 2022-12-23
  • 2021-07-28
  • 2021-05-13
  • 2021-04-12
  • 2022-02-16
  • 2021-06-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2021-05-30
  • 2022-02-26
相关资源
相似解决方案