Recent

Author Topic: How to install Lazarus generated programs...  (Read 735 times)

atell

  • New member
  • *
  • Posts: 9
How to install Lazarus generated programs...
« on: November 08, 2024, 12:49:10 pm »
Hello everyone.  :D
I'm a beginner Developer, living at Sapporo City, Hokkaido, Japan.

I am using Raspberry Pi OS 64bit on a Raspberry Pi 400. Lazarus 4.0RC1 and fpc3.2.3.

My inquiry is not about installing Lazarus but rather about creating an installer for an executable file. I am not very familiar with Linux, and I want to learn more.

----------
SHORTCUT.Desktop

[Desktop Entry]
Name=ICON-NAME
Terminal=false #true/false
Exec=/home/{USERNAME}/hoge/test001 -disableaccurateframe
#Icon=/usr/share/icons/Humanity/apps/64/access.svg
Type=Application
----------

First, I understand that an executable file created with Lazarus operates as a standalone file without requiring libraries, similar to Delphi. This should make the .deb file quite straightforward, but could you teach me from the beginning? I would like to add the "-disableaccurateframe" option to the executable file, and I am considering both creating a .deb file and using a script. Thank you for your assistance.

Regard,
Thank you.

Translation by Microsoft Copilot.

atell.
« Last Edit: November 08, 2024, 02:03:59 pm by atell »

TRon

  • Hero Member
  • *****
  • Posts: 3813
Re: How to install Lazarus generated programs...
« Reply #1 on: November 08, 2024, 06:45:52 pm »
There is a wiki article (link to article) about how to deploy Lazarus applications for different platforms.

Unfortunately the article isn't translated to the Japanese language.
I do not have to remember anything anymore thanks to total-recall.

nouzi

  • Sr. Member
  • ****
  • Posts: 311
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

atell

  • New member
  • *
  • Posts: 9
Re: How to install Lazarus generated programs...
« Reply #3 on: November 09, 2024, 08:29:27 am »
Thank you, TRon-san, nouzi-san.  :D

TRon-san:
I will take my time to read it thoroughly.  :)

nouzi-san:  ;D
How can I copy a shortcut to the desktop? Also, how can I enable uninstallation?
The script in the postinst file to place a shortcut on the desktop?

Thank you again.

atell.

 

TinyPortal © 2005-2018