mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Updated Raspberry Pi install instructions
This commit is contained in:
parent
9166e4c940
commit
bb2ffc0890
1 changed files with 3 additions and 9 deletions
12
README.md
12
README.md
|
|
@ -126,17 +126,11 @@ npm install serialport
|
|||
* Download and install node.js:
|
||||
|
||||
```bash
|
||||
wget http://nodejs.org/dist/v0.10.16/node-v0.10.16-linux-arm-pi.tar.gz
|
||||
tar xvfz node-v0.10.16-linux-arm-pi.tar.gz
|
||||
sudo mv node-v0.10.16-linux-arm-pi /opt/node/
|
||||
wget http://node-arm.herokuapp.com/node_latest_armhf.deb
|
||||
sudo dpkg -i node_latest_armhf.deb
|
||||
```
|
||||
|
||||
* Set up your paths correctly:
|
||||
|
||||
```bash
|
||||
echo 'export PATH="$PATH:/opt/node/bin"' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
```
|
||||
More information can be found at [node-arm](http://node-arm.herokuapp.com/).
|
||||
|
||||
* Install using npm, note this will take a while as it is actually compiling code and that ARM processor is getting a workout.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue