Filter results by

Updating your ARTIK Board

ARTIK 5 and 7 modules now support Ubuntu! Read below about how to upgrade your board to this operating system and its longer support lifetime.

Throughout these articles, we discuss installing software both on your ARTIK module and, occasionally, on your development PC. If not specified, assume we are referring by default to the ARTIK module and that you must be connected to a network to do so.

New to IoT?

Once you have your ARTIK board unboxed and running, you're ready to dive into the first of the Tutorials, which we suggest you do right away! Come back here once you're ready to start development on a project.

Seasoned Developer or Ready to Delve Deeper?

If you are starting project development, now is a good time to make sure you have the latest firmware and software available.

Step 1. Upgrade your OS. ARTIK modules come pre-loaded with a specific Linux operating system (OS), depending on module type:

  • Fedora only (ARTIK 520, 1020)
  • Fedora upgradable to Ubuntu (ARTIK 530, 710)
  • Ubuntu only (future ARTIK series).

Fedora is more compact than Ubuntu, but its support lifetime is limited compared to Ubuntu (5 yrs). Future ARTIK modules will support only Ubuntu. Move to Ubuntu now to avoid reloading all your software and tools later. Click to install the latest ARTIK image and you'll have to option to select Ubuntu if your module type supports it.

Step 2. Connect to a Network. To load software, you'll need to establish network connectivity; typically it'll be Wi-Fi® if using the ARTIK IDE or the Arduino IDE.

Step 3. Upgrade installed packages. Start by reading a primer on package management systems. Now you're ready for the latest software updates.

Note: In the version of Ubuntu we use, apt-get and apt are nearly interchangeable. We use apt – feel free to use either.

Ubuntu

apt-key add /var/lib/apt/keyrings/artik-platform-keyring.gpg

apt update

apt upgrade

apt install build-essential

Fedora

Verify your repository first as noted below, then type
dnf upgrade

Step 4. Install a development environment on your PC. If you loaded the ARTIK IDE earlier, you're nearly done – go to the Update SDK article to check for updates. If not, go to Software Tools to get an overview of what's available.

Step 5. Verify API access. ARTIK API support is included automatically when you install the ARTIK IDE. You just need to check to make sure repository access is set up on your ARTIK board.

Step 6. Add additional packages. You'll eventually want to add other software, typically using a package installer. We've included instructions throughout the articles about what packages you'd need for a specific feature (like adding Node-RED as we describe in the Tutorials).

Verifying Fedora repository

At the conclusion of active development for a given Fedora release, Fedora repositories may be phased out and moved to a permanent archive. If you are having any problems with dnf update or package downloads, make sure the repository URLs point to the right locations.

You'll find the information in /etc/yum.repos.d/ in various files. You can either change them manually or use a command like the one below to make the substitution.

sed -i 's|archive\.fedoraproject\.org\/pub|archives\.fedoraproject\.org\/pub\/archive|g' /etc/yum.repos.d/*

Ubuntu Differences from Fedora

You'll find it quite easy to move to Ubuntu. We've provided a short comparison list showing command differences between Ubuntu and Fedora. We've also included installation differences within our articles.

Another consideration is the Ubuntu vi editor, which defaults to a less user-friendly mode than in Fedora. Just create a file ~/.vimrc with contents set nocp to make it work as it did under Fedora.

Last updated on: