Can anyone advise what is the preferred solution to remove unused libraries in Sailfish (in the sense of general cleanup)?
Something like:
- “apt autoremove” or “apt purge $(deborphan)” in Debian|Ubuntu
- or “flatpak uninstall --unused” for Flatpaks.
I had a look at SFOS cheat-sheet Sailfish OS Cheat Sheet | Sailfish OS Documentation, but had no advice there.
However pkcon -h shows that there is --autoremove as “Automatically remove unused dependencies”, but as I understand, it is meant to be used during the removal of main package “pkcon remove $packagename --autoremove”.