Command 'update' not found


#1

Hello,

I am using the mangOH Dev using Legato 18.02.0 on Ubuntu 16.04 - r3. I am following the instructions according to the mangOH_Red_GSG_(Windows), section 5.2, step 6: when I issue the command update I receive a message saying:
mangoh@mangoh-virtualbox:~/mangOH$ update ~/mangOH/build/update_files/red/mangOH.wp85.update 192.168.2.2
No command ‘update’ found, did you mean:
Command ‘xupdate’ from package ‘libxml-xupdate-libxml-perl’ (universe)
Command ‘zupdate’ from package ‘zutils’ (universe)
Command ‘lupdate’ from package ‘qtchooser’ (main)
Command ‘uupdate’ from package ‘devscripts’ (main)
Command ‘pupdate’ from package ‘pbuilder-scripts’ (universe)
update: command not found

Is there another command? Do you I need to install this command?

What can I do to resolve it?

Kind regards,
Pierre


#2

You need to run
cfglegato


#3

The update command gets built as part of the Legato build. It’s in ~/legato_framework/legato/bin/. As @asyal mentioned, you can run the cfglegato alias (defined in ~/.bashrc) to put update into your PATH environment variable.