Skip to content

Instantly share code, notes, and snippets.

@MarcWang
Created December 4, 2015 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcWang/d005d54f4e5b5fc7d2d7 to your computer and use it in GitHub Desktop.
Save MarcWang/d005d54f4e5b5fc7d2d7 to your computer and use it in GitHub Desktop.

Ref

Node-arm

NOTE: UPGRADE YOUR GCC to V4.8 for this package to work!

Option 1 (the better option):

$ sudo apt-get update
$ sudo apt-get install gcc-4.8 g++-4.8
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
$ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20
$ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50

Options 2: Upgrade to debian Jessie

Replace all instances of "wheezy" in /etc/apt/sources.list

$ sudo apt-get update
$ sudo apt-get dist-upgrade

To Download via command line

* wget http://node-arm.herokuapp.com/node_latest_armhf.deb

Other options are

* wget http://node-arm.herokuapp.com/node_latest_unstable_armhf.deb
* wget http://node-arm.herokuapp.com/node_archive_armhf.deb

Installation

$ sudo dpkg -i node_latest_armhf.deb

Check installation

node -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment