[Lazarus] Installer/uninstaller on Linux for fpc/lazarus programs?

Bo Berglund bo.berglund at gmail.com
Wed Nov 20 18:14:07 CET 2019

I am wondering how exactly I should package the program I am
developing for Raspberry Pi so it can be uniformly installed and
uninstalled on new RPi units...

It is an Arm binary for RPi3 or Rpi4 type units running Raspbian
Buster. So I could stuff the binary into /usr/bin I suppose, but it
also needs a config file (below /etc, right?) and some data files
which go into a new directory tree somewhere (where?).
The dir (which needs to be created) shall be populated with some
example files and such.

And this is a pure command line application meant to be run from cron
or possibly as a service. Not sure yet.

On Windows for my previous Delphi applications I used InnoSetup but
that is not valid on Linux of course.

My aim is to get a way to install which will help the production and
service people when we move away from using Windows PC as a platform.

Needless to say I am not so familiar with everyday use/maintenance of
Linux computers. I have only used RPi boxes for dev work and
experimentation so far....

Or should I simply write some FPC command line utility to do the job?
Or maybe an install script and put that into a tgz file?

What do people normally do?

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list