# apt install deborphan
Now to list the orphaned packages, just use the command on the terminal
# deborphan
libllvm3.8:amd64
libmircommon5:amd64
libsensors-applet-plugin0:amd64
libqmi-glib1:amd64
You can see that we have the same list as with gtkorphan. To remove all the orphaned packages, use the command:
# apt-get remove --purge `deborphan`
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libllvm3.8* libmircommon5* libqmi-glib1* libsensors-applet-plugin0*
0 upgraded, 0 newly installed, 4 to remove and 23 not upgraded.
After this operation, 43.8 MB disk space will be freed.
Do you want to continue? [Y/n]