Rev 3 9/21/17 1544: Prepare Your Linux Dev Machine For LegatoDevelopmentIn this chapter, you will prepare your dev machine for Legato application development by setting up thedevelopment environment with required applications and packages.4.1 Prepare Dev Machine For Application DevelopmentAfter preparing your mangOH Red hardware in Set Up Your mangOH Red Hardware on page 9, you can prepareyour dev machine for application development:4.2 Build and Install the Development EnvironmentIn this section you will build and install the environment to develop applications for the CF3 module used in yourmangOH Red. The environment includes:• Legato toolchain—Tools and libraries used to build the Legato Platform for your CF3 module. The Legatotoolchain 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 -d3. Check whether your dev machine is 32-bit or 64-bit:$ uname -mThe 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 inTable 1-1 on page 7.Important: Download, installation and use of Legato Application Framework and Platform Services is subject tothe Legato License and Open Source Licenses. (Note: These links automatically download the licenses as PDFfiles.)Note: If the version is less than 16.04, upgrade your operating system to 16.04 or higher, then continue with theseinstructions.