Legato Application Development Kit - Linux

Feb 07, 2017 - Author: Sierra Wireless - 7710 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
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 appropriate Legato ZIP archives

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

©2017 Sierra Wireless. All rights reserved.
×
Get updates on this product
You have been successfully subscribed to this product. To access your subscription click here.
You have been successfully unsubscribed to this product. To access your subscription click here.