This article will guide you on steps to #install #software from #source on #Ubuntu. The Complete #command is apt-get which is the easiest way to install files/Softwares #packages.
Once installed, on the command line, you can use dpkg --listfiles packagename . For instance, dpkg --listfiles firefox .
If you want to see what files a package contains without installing it, then you can install apt-file and use that.