Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-04

make installation package in linux.

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dario Ruggi

Hallo .

This is my first post.
I'm new to lazarus, free pascal and linux.
I have "Imigrated" from vb on windows.
I have written a little program in lazarus and freepascal (Lazaruz :1.0.8, Free Pascal 2.6.2 linuxmint 14 64 bit).
The program runs well in the IDE.

I want now to make an install package for linux of it and realize that i do not know how.
When i searched the net i got not answer.

i even dont know what is the best package format for it (i.e deb, rpm ... etc.)

If any of you can show me how to do it, with maybe a little example i will be very greatefull.

Thx to all in advance. :)

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/make-installation-package-in-linux-tp4030602.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Reinier Olislagers
to Dario Ruggi
Dario Ruggi wrote 10 lines
I want now to make an install package for linux of it and realize that i do not know how. When i searched the net i got not answer. i even dont know what is the best package format for it (i.e deb, rpm ... etc.) If any of you can show me how to do it, with maybe a little example i will be very greatefull.

Welcome, Dario!

I haven't actually created install packages for Linux yet; I believe Mint is either based on Debian or Ubuntu; both use .deb packages.

You could try the LazPackager package for it, which lets you easily create .deb files (or you can do it manually - look up how in Debian manuals):

https://github.com/prof7bit/LazPackager
Download everything, e.g. via zip
https://github.com/prof7bit/LazPackager/archive/master.zip

Unzip in a directory e.g. next to your lazarus directory.

In Lazarus, go to Package/open package menu; open the .lpk in that directory.

Press compile to compile the package.

the package needs to register itself in Lazarus, so click on install. Laz will worn you it will need to rebuild itself. Let it.

If it doesn't, rebuild Lazarus (I think via the tools menu).

Once this is done, you have some extra menus, I think in the tools menu, to convert your project executable into a .deb package.

Readme
https://github.com/prof7bit/LazPackager#readme
Screenshots
http://prof7bit.github.io/LazPackager/

Note: all of this from memory, hope I got it right!

Reply by email

Dario Ruggi
to Reinier Olislagers

Thank you very much Reinier.

I appreciate your quick response.

That works.

And you have not to worry, your memory is excellent, and yes you got it right!
by the way, Mint is based on Debian or Ubuntu and uses Xfce, Mate or Cinnamon.

Thanks, Thanks, Thanks, Thanks :)

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/make-installation-package-in-linux-tp4030602p4030606.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email