The official operating system distributed with the Edison board, based on Yocto Linux, already provides the latest versions of the Devkit libraries. The same applies for Galileo if you have a recent Devkit image running in your SD card. However, you may want to check from time to time if there is a new version available.
The operating system powering such boards uses opkg as package manager. In the sequence, we will show a few commands just add the repository and to update the libraries if there are new versions.
The following commands should be run in a terminal with access to Edison or Galileo. You may open a serial terminal, or a ssh connection, whatever you prefer.
Add the repository – Edison only
This step is not required on Galileo boards running Devkit. To check the versions, you need to add this repository to opkg list of repositories. This is a step you only need to do once. After that, you should skip this steps anytime you wish to check your version.
$ echo "src intel-iotdk http://iotdk.intel.com/repos/1.1/intelgalactic-edison"> /etc/opkg/intel-iotdk.conf
To update the Devkit packages
Since we already have set up the repository, we can check for updates and install new versions with the commands:
$ opkg update
$ opkg upgrade