The only "true" way I know is to compile a deb or rpm package, in which you can directly set all dependencies of your app.<br>See f.e. <a href="http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html">http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html</a><br>
or <a href="http://fedoraproject.org/wiki/How_to_create_an_RPM_package">http://fedoraproject.org/wiki/How_to_create_an_RPM_package</a><br>