here says you can install the devMode app:
You might need to mark system good (update -g) after install devMode app
Another option is to contact distributor to request for a tool to adjust the Legato partition size in order to let you install a bigger legato.cwe