Remove Ubuntu SDK and Click Packages

You can use click command to easily list, manage and destroy click packages and chroot builds.

The chroots can take up disk space of over 2GB. So knowing how to properly remove them when not being used is a must.

To list all installed Click packages
sudo click list

list command may not work sometimes. So, also check in ‘/var/lib/schroot’ directory to find out the chroots done by the Ubuntu SDK. To summarize disk space occupied, use ..
sudo du -h --max-depth= 1 /var/lib/schroot

To destroy a chroot use the command,
sudo click chroot –architecture ARCH -f FRAMEWORK

For example,

sudo click chroot --architecture armhf -f ubuntu-sdk-14.10 destroy

Unistalling the Ubuntu SDK

To completly purge the SDK, including Qt Creator and its plugins
sudo apt-get purge ubuntu-sdk*

Alternatively you can revert all the changes made by ubuntu-sdk-team/ppa
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt update && sudo ppa-purge ppa:ubuntu-sdk-team/ppa

Leave a comment

Your email address will not be published. Required fields are marked *