linux how to know in what dir a program is installed code example
Example: linux list application installation
Use this command on ubuntu:
> sudo dpkg --listfiles [appname]
Use this command on ubuntu:
> sudo dpkg --listfiles [appname]