Where is Firefox installed in Ubuntu? Answer
Firefox looks like it comes from /usr/bin however – that is a symbolic link pointing to . ./lib/firefox/firefox.sh. For my installation of Ubuntu 16.04, firefox, and many others are stored in various directories of /usr/lib.