December 3, 2015

树莓派安装Node.js

首先查看树莓派cpu信息 pi@raspi:~ $ cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 2.00 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM2708 Revision : 000e Serial : 000000004a8acb6d 看清楚cpu构架,是ARMv6 然后在node.js官网下载对应版本的包,下载地址https://nodejs.org/dist/ # wget https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-arm64.tar.gz # tar zxf node-v4.2.2-linux-arm64.tar.gz # mv node-v4.2.2-linux-arm64 /usr/nodejs422 方便使用期间,做个链接 Read more

© unixetc.com 2012 - 2019
README