Can't compile

I used the Linux Mint package manager to install avr-gcc, avr-bin-utils, etc. Now it works. But these packages duplicate what I built from source so it is only the paths that were wrong. I'd like to find out exactly WHAT was installed by the binary packages and WHERE the files ended up so I can fix the build script for the source package.