Installing nodejs and npm on Ubuntu

Ubuntu’s apt-get has outdated versions of nodejs.. The right way to to intall nodejs on Ubuntu is to use the repo maintained by nodesource. Update apt-get with this repo and then install..

curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs

Look in the nodesource repo above to get the right version you need.

Arduino Yun OpenWrt upgrade, sftp and nodejs

As i get to understand more about the capabilities of Yun, i did some basic house keeping work on the Yun. I expanded the disc space with a micro SD card. Upgraded the OpenWrt-Yun firmware and installed sftp and nodejs.

Continue reading “Arduino Yun OpenWrt upgrade, sftp and nodejs”