Time to Expand your Yún disk space and install Node.js
- The first feature allows you to use a micro SD card as a replacement for the Yún’s internal flash memory. We have a tutorial that demonstrates how using this expands your Yún’s free disk space from the original 7 Megabytes to the available Gigabytes of your SD card.
Having more disk space allows you to make more complex projects, like activating webcams and saving pictures taken with it. In addition, by using an external SD card you avoid using the internal flash memory, thus extending the life of your Yún.
- The second new feature is the availability of Node.js as an installable package.
In order to install Node.js on your Yún, use the Arduino IDE to upload the YunSerialTerminal example or access your Yún via SSH.
Be sure your Yún has access to the internet, then type the following commands:
opkg install node
And voilà! You’ve got Node.js on your Yún.
Try it out with the following command:
node -e "console.log('Hello_Yun')"