4: Prepare Your Linux Dev Machine For Legato
Development
Rev 2 8/23/17
In this chapter, you will prepare your dev machine for Legato application development
by setting up the development environment with required applications and packages.
Important:
To install and use the development environment, your dev machine must meet
the requirements in
Table 1-1 on page
4.1 Prepare Dev Machine For Application
Development
After preparing your mangOH Red hardware in
on page
9, you can prepare your dev machine for application development:
Important:
Download, installation and use of Legato Application Framework and Platform
Services is subject to the
Legato License
automatically download the licenses as PDF files.)
4.2 Build and Install the Development
Environment
In this section you will build and install the environment to develop applications for the
CF3 module used in your mangOH Red. The environment includes:
•
Legato toolchain—Tools and libraries used to build the Legato Platform for your
CF3 module. The Legato toolchain is module-specific; you must make sure you
install the toolchain designed for your module.
•
mangOH Red platform—Drivers for on-board components, and a basic
device-to-cloud application.
To build and install the development environment on your dev machine:
1. Open a terminal window.
2. Install packages required for the development environment:
a. Display your Ubuntu version:
$ lsb_release -d
Note: If the version is less than 16.04, upgrade your operating system to 16.04 or
higher, then continue with these instructions.
17
6.
Set Up Your mangOH Red Hardware
and
Open Source
Licenses. (Note: These links
4
41110481