5

The recommended/normal procedure is to install click build targets in Ubuntu SDK but I wanted to know if it's possible to install them in terminal.

2 Answers2

6

AFAIK the recommended way is to use pkcon. Copy your .click file to the device and run the following command on the device itself (by using adb shell or SSH):

pkcon --allow-untrusted install-local com.ubuntu.developer.abc.def_0.123_armhf.click

This does not require root privileges.

Cmdr
  • 209
2

You can use the click command to install packages on your device.

First copy the .click file on your device.

Then use the following commands (e.g after creating a remote session with phablet-shell):

sudo click install --all-users ./com.ubuntu.foo_1.0.click  --allow-unauthenticated
click register com.ubuntu.foo 1.0

Just change the name of the package for your needs.