It depends on which distro you are planning to install it. For Ubuntu/Debian/etc you would package it as a .deb file and install that on the target machine. Fedora/RedHat/Suse/etc. use the RPM package format.