Rev 3 9/21/17
15
4
4: Prepare Your Linux Dev Machine For Legato
Development
In this chapter, you will prepare your dev machine for Legato application development by setting up the
development environment with required applications and packages.
4.1 Prepare Dev Machine For Application Development
After preparing your mangOH Red hardware in
Set Up Your mangOH Red Hardware on page 9
, you can prepare
your dev machine for application development:
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
3.
Check whether your dev machine is 32-bit or 64-bit:
$ uname -m
The dev machine’s hardware type appears —e.g. "x86_64" is a 64-bit system.
Important:
To install and use the development environment, your dev machine must meet the requirements in
Important:
Download, installation and use of Legato Application Framework and Platform Services is subject to
the
and
. (Note: These links automatically download the licenses as PDF
files.)
Note:
If the version is less than 16.04, upgrade your operating system to 16.04 or higher, then continue with these
instructions.