Skip to main content

Cloud Licensing Guide

Installing on Red Hat or Ubuntu

In this section:

The package manager executable file for Red Hat is dnf or rpm and the filename extension for its associated archive files is .rpm. For Ubuntu, the package manager executable file is apt or dpkg, and the filename extension for their associated archive files is .deb. When both options are present, separated by a pipe character, use the appropriate alternatives for the Linux distribution that you are using.

Note

When installing the IAR Build Tools themselves on Ubuntu, you must invoke apt with the install command install, otherwise dependency files will not be installed.

The default installation directory is /opt/iar/.

1. Install the IAR LMSC Daemon

Execute this command line (Red Hat/Ubuntu):

$ sudo dnf install ./iar-lmsc-tools-<version>-1.x86_64.rpm
or
$ sudo apt install ./iar-lmsc-tools_<version>_amd64.deb

2. Install your IAR product

Execute this command line (Red Hat/Ubuntu):

$ sudo dnf install ./<product>.rpm
or
$ sudo apt install ./<product>.deb

where <product> is the name of your IAR product installer, on the pattern <product>-<version>.deb|rpm.

For Arm products, also install the support files for the hardware device family your product uses:

  1. Unzip the device support package .zip file.

  2. Execute this command line:

    $ sudo dpkg|rpm -i ./<devicepackage>.deb|rpm
    

The device packages have descriptive names on the pattern <product>-device-support-<vendor>-<version>.deb|rpm.

3. Authenticate your installation

To connect a capacity token:

  1. Copy the token string of the token you want to use.

  2. Set up the access token environment variable with the token string:

    export IAR_LMS_BEARER_TOKEN=<token_string>

To connect a Named User:

  • Using iarlogin:

    1. Execute this command line:

      $ iarlogin login
    2. Log in to your IAR account.

  • Using iarlogin and an external device:

    1. Execute this command line:

      $ iarlogin login --use_device_code

      This will return the device code for the device.

    2. Go to iar.my.site.com/iarlogin/setup/connect on any device and log in to your IAR account.

    3. Enter the device code to connect your account to the device.