0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OSMCにNode-Redを入れる

Posted at

まずはメモで

●環境
OSMCのイメージを書き込んだRaspberryPi 2B

osmc@osmc:~$ uname -a
Linux osmc 4.14.78-2-osmc #1 SMP PREEMPT Sun Oct 28 14:59:13 UTC 2018 armv7l GNU/Linux

●やったこと

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

sudo apt-get install build-essential

(以下の参考ページ:https://discourse.osmc.tv/t/solved-cannot-install-rpi-gpio/71906
sudo apt-get install python-pip python-dev gcc
sudo pip install wheel
sudo apt-get install python-setuptools
sudo pip install rpi.gpio

(以下の参考ページ:https://github.com/nodesource/distributions
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
sudo apt-get install -y nodejs

(以下の参考ページ:https://nodered.org/docs/hardware/raspberrypi
sudo npm i -g npm
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered )

sudo systemctl enable nodered.service
sudo reboot

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?