Created
October 26, 2012 19:59
-
-
Save MylesBorins/3961104 to your computer and use it in GitHub Desktop.
Install node on arm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First step... | |
sudo apt-get update && sudo apt-get upgrade | |
Go see a movie or write a novel | |
Follow instructions at https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager | |
sudo apt-get install python-software-properties | |
Drink a beer while you wait | |
The below steps can be skipped, the repositories are only good for amd64 and i386 | |
need to compile from source BLEGH | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
Don’t do these steps | |
sudo apt-get install nodejs | |
sudo apt-get install npm (need to be done separately) | |
only installed verion 0.1 blegh | |
install git | |
sudo apt-get install git | |
git clone https://github.com/joyent/node.git | |
git checkout v0.8.11-release | |
(switch to branch of most stable release... and save some time not compiling pre-release like I did the first time... 2 hours I’ll never get back) | |
download the patch found at https://gist.github.com/9c4d01a7d3091398a1be | |
you will need to download the tar to your host, extract, and scp the .patch to your node directory | |
cd node (cd into node directory) | |
patch -p1 < patsje.patch (Apply patch) | |
./configure | |
make | |
Now you should probably go on a spirit quest and find yourself | |
(Took about 2 hours) | |
sudo make install | |
Found this http://n8.io/cross-compiling-nodejs-v0.8/ (something to consider) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment