Software Package Manager

You can install Legato using the Developer Studio Software Package Manager (SPM).

Setup apt sources

Run the follow to reference the Developer Studio APT repository:

wget -O - | sudo tee /etc/apt/sources.list.d/devstudio.list
wget -O - | sudo apt-key add -
sudo apt-get update

Install Packages

Install Software Package Manager for Legato by running:

sudo apt-get install devstudio-legato-spm


Here's how to use the SPM.

Run Options

legato-spm [OPTION]



Displays repository tree of available releases and modules.

-r <release> -m <module> browse

Displays available packages that can be installed from the repository for a specified release and module.

-r <release> -m <module> install

Installs packages from the repository for a specified release and module.


Lists currently installed Legato packages.

Packages Installed

Packages are installed by default to your ~/.devstudio/packages directory:

legato.framework.* - Prebuilt Legato framework packages
legato.toolchain.* - GCC cross compiler Toolchains
legato.devimg.* - Device Images allowing to upgrade Legato devices system software

Config Legato

Use this script to confirgure Legato:

source ~/.devstudio/packages/legato.sdk.VERSION/resources/configlegatoenv

Your environment is now ready to Use Sample Apps.

Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.