Install binstats by entering the following commands in the terminal:
sudo apt update sudo apt install binstats
Statistics tool for installed programs
A utility to aid the tidying up of binaries, interpreted scripts, and dynamic libraries. It can find the number and identity of a.out and ELF binaries, plus their debugging symbols status, setuid status, and dynamic library dependence. It can count the number of Java bytecode programs, tally up the main types of scripts, and look for unidentified executable text files. . Also it is able to find any duplicated executable names, unused libraries, binaries with missing libraries, statically linked binaries, and duplicated manual page names.