Try the following in a terminal:
It checks your path and returns the first location it finds the binary (which will be the one that runs unless you use an absolute path). This assumes that the binary gets installed in a path entry. If it's installed in a non-standard location you can use an absolute path to run it, or add that directory to your PATH.
Otherwise there are package management tools that allow you to see where everything gets put.