pi@raspberrypi:~ $ su Password: root@raspberrypi:/home/pi# curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - ## Installing the NodeSource Node.js 4.x LTS Argon repo... ## Populating apt-get cache... + apt-get update Hit http://mirrordirector.raspbian.org jessie InRelease Hit http://archive.raspberrypi.org jessie InRelease Hit http://mirrordirector.raspbian.org jessie/main armhf Packages Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages Hit http://archive.raspberrypi.org jessie/main armhf Packages Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages Hit http://archive.raspberrypi.org jessie/ui armhf Packages Ign http://archive.raspberrypi.org jessie/main Translation-en_GB Ign http://archive.raspberrypi.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://archive.raspberrypi.org jessie/ui Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Reading package lists... Done ## Installing packages required for setup: apt-transport-https... + apt-get install -y apt-transport-https > /dev/null 2>&1 ## Confirming "jessie" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_4.x/dists/jessie/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 4.x LTS Argon repo... + echo 'deb https://deb.nodesource.com/node_4.x jessie main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_4.x jessie main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Hit http://mirrordirector.raspbian.org jessie InRelease Hit http://archive.raspberrypi.org jessie InRelease Hit http://mirrordirector.raspbian.org jessie/main armhf Packages Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages Hit http://archive.raspberrypi.org jessie/main armhf Packages Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages Hit http://archive.raspberrypi.org jessie/ui armhf Packages Get:1 https://deb.nodesource.com jessie InRelease [3,914 B] Get:2 https://deb.nodesource.com jessie/main Sources [764 B] Get:3 https://deb.nodesource.com jessie/main armhf Packages [967 B] Ign http://archive.raspberrypi.org jessie/main Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B] Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://archive.raspberrypi.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB Ign http://archive.raspberrypi.org jessie/ui Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B] Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B] Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B] Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B] Ign https://deb.nodesource.com jessie/main Translation-en_GB Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B] Ign https://deb.nodesource.com jessie/main Translation-en Fetched 5,645 B in 23s (242 B/s) Reading package lists... Done ## Run `apt-get install nodejs` (as root) to install Node.js 4.x LTS Argon and npm root@raspberrypi:/home/pi# sudo apt-get install -y nodejs Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libc-ares2 libv8-3.14.5 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: rlwrap The following packages will be REMOVED: nodejs-legacy nodered The following NEW packages will be installed: rlwrap The following packages will be upgraded: nodejs 1 upgraded, 1 newly installed, 2 to remove and 2 not upgraded. Need to get 7,927 kB of archives. After this operation, 34.7 MB of additional disk space will be used. Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main rlwrap armhf 0.41-1 [70.3 kB] Get:2 https://deb.nodesource.com/node_4.x/ jessie/main nodejs armhf 4.4.2-1nodesource1~jessie1 [7,857 kB] Fetched 7,927 kB in 8s (932 kB/s) (Reading database ... 126687 files and directories currently installed.) Removing nodered (0.13.4) ... Removing nodejs-legacy (0.10.29~dfsg-2) ... Processing triggers for gnome-icon-theme (3.12.0-1) ... Processing triggers for gnome-menus (3.13.3-6) ... Processing triggers for desktop-file-utils (0.22-1) ... Processing triggers for mime-support (3.58) ... Processing triggers for man-db (2.7.0.2-5) ... Selecting previously unselected package rlwrap. (Reading database ... 119726 files and directories currently installed.) Preparing to unpack .../rlwrap_0.41-1_armhf.deb ... Unpacking rlwrap (0.41-1) ... Preparing to unpack .../nodejs_4.4.2-1nodesource1~jessie1_armhf.deb ... Unpacking nodejs (4.4.2-1nodesource1~jessie1) over (0.10.29~dfsg-2) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up rlwrap (0.41-1) ... update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode Setting up nodejs (4.4.2-1nodesource1~jessie1) ... root@raspberrypi:/home/pi# mkdir /opt/iobroker mkdir: cannot create directory ‘/opt/iobroker’: File exists root@raspberrypi:/home/pi# cd /opt/iobroker/ root@raspberrypi:/opt/iobroker# npm install iobroker Illegal instruction root@raspberrypi:/opt/iobroker# npm install --unsafe-perm iobroker Illegal instruction root@raspberrypi:/opt/iobroker# npm install iobroker Illegal instruction root@raspberrypi:/opt/iobroker#