Legato Application Development Kit - Linux

Mar 07, 2018 - Author: Sierra Wireless - 20720 Views

Legato Application Development Kit - Linux

Important: Download, installation and use of Legato is subject to the following Legato License and  Open Source Licenses.

This page provides instructions on how to install the Legato Application Development Kit on a Linux host. It installs the lastest software packages for both IDE (graphical interface built on Eclipse) and command line users.

Minimum Configuration: CPU: Dual Core @ 2.6Ghz / RAM: 4GB / HDD: 10 GB free space

1. Install System Dependencies

Legato development environment has some dependencies with some software that needs to be installed on your Linux distribution.

For Ubuntu Linux distribution:
Check your Ubuntu version
lsb_release -d
If you are running an Ubuntu version older than 14.10 then install OpenJDK Java 8 as follow, otherwise go to the next step to install dependencies
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jre
sudo update-alternatives --config java
Check whatever your Linux computer is 32-bit or 64-bit
uname -m
Install generic dependencies
sudo apt-get install openjdk-8-jre libwebkitgtk-1.0-0 build-essential python-jinja2 ninja-build zip autoconf automake
If you are running on a 64-bit operating system, install some additional dependencies
sudo apt-get install lib32z1 lib32ncurses5
If you plan to develop Legato applications with Java language, install some additional dependencies
sudo apt-get install openjdk-8-jdk
If you plan to customize the Legato Framework, you will need additional packages.
Please refer to Legato project on Github for instructions.

For other Linux distributions, use your distribution packets system to install the required packages per the Ubuntu list above (package names may differ for different distributions).

2. Install the Legato Develoment Environment

Download the file for your module and linux host architecture (~500MB)
WP760X Release 8 (Legato 18.01.0) Linux 64 bit Linux 32 bit
WP770X Release 8 (Legato 18.01.0) Linux 64 bit Linux 32 bit
WP8548/WP750X Release 15 (Legato 16.10.4) Linux 64 bit Linux 32 bit
Extract the 32-bit or 64-bit legato zip archive to the ‘legato’ subdirectory in your home directory (Replace ‘##’ with ‘32’ or ‘64’ as appropriate.)
unzip legato*##* -d ~/legato
Finish installing Legato
cd ~/legato
./legato-spm --installed --update-link

Alternative installation procedures for Advanced Users

For users who intends to install an older Legato version, please download the legato ZIP archive files from Legato Full Installer History.
For users who intends to use only command lines, please consult legato-spm.
For users who intends to extend their existing Eclipse IDE with legato plug-ins, please consult Developer Studio Installation.

Related items

Legato Application Development Kit - Windows

Installer for Windows host to develop Legato Applications

legato-spm - command line tool (linux host)

Download embedded software packages from Sierra Wireless repository

swiflash - command line tool (linux host)

Flash firmware into WP/AR module for recovery purpose

©2019 Sierra Wireless. All rights reserved.
You have been successfully unsubscribed to this product. To access your subscription click here.