Deploying
The Lazarus integrated development environment does not provide a method to package and deploy applications it creates. There are various programs and methods to create distribution packages for the different platforms that Free Pascal and Lazarus support.
For Windows, there is Inno Setup (http://www.jrsoftware.org/isinfo.php), a free installer program that was written in Delphi, and its full source code is available as well. The Lazarus installer for Windows was created using this software.
Linux-based systems should use the package management system targeted for their distribution. For Debian-based systems, create .deb
files. For systems that use the Red Hat package management system, create .rpm
files.
For a more complete listing of programs and methods of creating installers and packages for different platforms, visit http://wiki.freepascal.org/Deploying_Your_Application.