Installing click packages from the command line

Click packages are the new packaging format used in Ubuntu Touch. We show how to install such a click package on your (USB-connected) device with the command line. In a second part, we show how to use the phablet shell instead of the adb shell.

Installing a click package

The developer mode must be enabled for all the following steps: Settings > About Phone > Developer Mode.

Push the click file to your device:

daniel@laptop:~$ adb push /home/phablet/Downloads/

Now, we can login on the device and install the package:

daniel@laptop:~$ adb shell
phablet@ubuntu-phablet:~# pkcon install-local --allow-untrusted \

The adb shell doesn't work correctly if the terminal size is less than 80x24: the line wrapping bug makes it hard to enter long commands like the ones above. A better solution is to use the phablet shell.

Using phablet-shell instead of adb shell

We install and configure the phablet-tools as follows:

sudo apt-get install phablet-tools 

Because phablet-shell is based on ssh, we need to create a ssh public key:


We are done! Start the phablet-shell to install the click package (like above):

phablet@ubuntu-phablet:~# pkcon install-local --allow-untrusted \
Written on June 13, 2015