Cubieboard CC-A80性能之Ubuntu Linaro编译安装Node.js

来源:互联网 发布:ubuntu高清壁纸 编辑:程序博客网 时间:2024/05/17 04:56

Cubieboard CC-A80性能之Ubuntu Linaro编译安装Node.js 。

作为一个喜欢后端的前端工程师,我还是主要玩儿Node.js的,所以我要给CC-A80安装Node.js。apt-get源安装的Node.js 版本太旧了,0.10.xx 。大家都知道,经过Node.js和io.js风波之后Node.js 版本号已经到了现在的5.0.0了,有很多的新特性,只能编译安装。

但是我还是想安装4.2.1,因为这个是最新的LTS版。 

安装步骤真的没啥可说的,下面粘贴一段文档吧

Prerequisites:

  • gcc and g++ 4.8 or newer, or

  • clang and clang++ 3.4 or newer

  • Python 2.6 or 2.7

  • GNU Make 3.81 or newer

  • libexecinfo (FreeBSD and OpenBSD only)

$ ./configure $ make $ [sudo] make install

If your Python binary is in a non-standard location or has a non-standard name, run the following instead:

$ export PYTHON=/path/to/python $ $PYTHON ./configure $ make $ [sudo] make install

我想说的是,安装过程真的好漫长好漫长,make过程慢的不行,和X86不是一个档次的。整个安装过程完全可以来两局Dota。

看来这个ARM架构还是比X86差很多?或许是全志的工艺不行呢?

0 0