16

Node.js, server side javascript sitting on top of Google's v8 engine, is not available for install from the Debian squeeze's default repositories and doesn't easily compile for ARM. Are there any raspberry pi specific projects to get node up and running? Is there an easy way to build from source or install from binary if my package manager doesn't include node or if I want the latest version?

Marius Butuc
  • 925
  • 3
  • 11
  • 20
wmarbut
  • 1,113
  • 1
  • 9
  • 16

3 Answers3

11

Github user Geoff Flarity has created a raspberry pi specific patch that allows node.js to be compiled for the raspberry pi.

On top of this he includes pre-built binaries for the latest version of node and clear instructions.

You can find this all here https://github.com/gflarity/node_pi

wmarbut
  • 1,113
  • 1
  • 9
  • 16
3

Under the Debian Squeeze distribution node.js 0.8.2 compiles quite happily with a few tweaks

http://ijosblog.blogspot.fi/2012/07/compiling-nodejs-on-raspberry-pi.html

Ian Oliver
  • 31
  • 1
2

Those patches are not necessary anymore since Node.js v0.8.10.

  1. Either compile it yourself (takes about 2 hours): http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=18775

  2. Download the binary (at the moment only available for v0.8.17). http://nodejs.org/dist/v0.8.17/node-v0.8.17-linux-arm-pi.tar.gz

Frederic
  • 351
  • 1
  • 5