Filter results by

Libraries and Packages

The Linux® OS releases used on ARTIK 5, 7, and 10 modules rely on a package installer to maintain existing packages and to find and add new ones. Our Getting Started article talks about the update process and references a site for package management basics.

Software Packages

The ARTIK module image comes with pre-installed software to simplify programming tasks, and the tutorials and development guide articles suggest installing many others. Examples of the numerous programs and utilities include:

  • alsa, mplayer and pactl for audio
  • gstreamer, ffmpeg, and fswebcam for video
  • wpa_supplicant, connmanctl, dnsmasq, and hostapd for networking
  • bluez for Bluetooth® networks

and there are quite a few more you'll want to install.

Comparison of Commands

Ubuntu        Fedora Description
apt install dnf install Install a new package
apt remove dnf remove Uninstall a package
apt search dnf search Search repositories for packages with a keyword
dpkg -l rpm -qa --qf '%{NAME}: %{SUMMARY}\n' | sort -f See a listing of what you currently have
apt-cache dump | grep -oP 'Package: \K.*|Version: \K.*' dnf --showduplicates list _search_term_ See a listing of all available versions of packages with that term
apt update
apt upgrade
dnf upgrade Update local information and then upgrade to latest package revisions. (Note that using dnf upgrade or dnf update has the same effect, as one forces the other.)
apt dist-upgrade dnf system-upgrade Perform upgrade, with intelligent conflict resolution

As you can see, getting a full understanding of everything available to you could take some time!

Libraries

Companies like Arduino, Temboo, and others offer external libraries to make the learning curve a little less steep. Temboo, for example, makes the development process nearly menu-driven. Arduino library calls reduce many complex operations to a single line of instruction code.

You should investigate these external libraries before starting your development. Refer to the navigation topics listed for additional details.

Manually installing libraries

To install a library manually (when a package is not available):

  • Copy the library file to /usr/lib
  • Run ldconfig -n -v /usr/lib
Last updated on: