在Raspberry Pi树莓派上编译Node.js

标签: , , ,

之前在《在Raspberry Pi 2树莓派2上安装Node.js》说了怎么安装Node.js,但是用这个方法在第一代树莓派上不适用,只能到官网下载预编译的包,当然也可以自己编译。

首先安装相应的工具:

sudo apt-get install git python g++ make

然后下载Node.js的源码:

git clone https://github.com/nodejs/node.git

编译:

make -j4

安装:

sudo make install

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. OpenWrt配置he.net的6in4隧道访问IPv6
  2. bb_register_plugin_activation_hook函数——bbPress的BUG
  3. 价值50大洋的VBS脚本
  4. Perl常用的内置特殊变量
  5. 改变IE查看源文件默认程序的方法

留下回复