how to see where a software is installed in linux code example
Example: list of software installed linux
dpkg-query -W -f='${Installed-Size;8} ${Package}\n' | sort -n
dpkg-query -W -f='${Installed-Size;8} ${Package}\n' | sort -n