orphaner

program that can find unused packages, e.g. libraries

Debian Debian
RUN apt-get update && \ apt-get install -y deborphan
Ubuntu
RUN apt-get update && \ apt-get install -y deborphan
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y deborphan
Raspbian
RUN apt-get update && \ apt-get install -y deborphan
click the source code to copy install orphaner on any operating system with command-not-found.com