Recent

Author Topic: Is there a decent installer for Linux?  (Read 9623 times)

snorkel

  • Hero Member
  • *****
  • Posts: 817
Is there a decent installer for Linux?
« on: October 26, 2012, 04:26:15 pm »
Is there a decent installer for linux that does not have a huge learning curve or cost a arm and a leg?
I wrote this nice app with Lazarus and I want to package it up, but trying to figure out how to deploy on Linux is taking more time than writing the app did.

Creating debian or RPM packages is a pain in the rear, sorry to say it, but it is.



***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Is there a decent installer for Linux?
« Reply #1 on: October 26, 2012, 04:45:26 pm »

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: Is there a decent installer for Linux?
« Reply #2 on: October 26, 2012, 05:54:46 pm »
That looks good for MSE apps on linux as they don't have deps other than a xserver.
Guess I will have to figure out the nasty debian and RPM mess :-(
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Is there a decent installer for Linux?
« Reply #3 on: October 26, 2012, 09:49:53 pm »
Strange section to post in (why not post in the Linux section) but well...

FYI: Bernd/prof7bit is working on a Debian installer package for Lazarus that lets you package up a project and create .deb files; it is easily adaptable to at least windows/inno setup and should be adaptable to rpm as well, I'd think.
When I looked at it, it was quite far along, but I don't know whether he has finished it.

He mentioned it on the Lazarus mailing list, if you want more info.

Code:
https://github.com/prof7bit/LazPackager
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: Is there a decent installer for Linux?
« Reply #4 on: October 26, 2012, 11:30:43 pm »
Strange section to post in (why not post in the Linux section) but well...

Because I was hoping a third party company or what not had come up with something...guess not.
Anyway I have seen the Lazpackage thing and it does have promise, but it still has a lot of issues, for example it will not work if your
project path has spaces in the names, no support or documentation on how to create a menu entry for gnome or kde.

There is this: http://installbuilder.bitrock.com/  but holy wow is it expensive....
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Is there a decent installer for Linux?
« Reply #5 on: October 27, 2012, 09:46:01 am »
http://wiki.lazarus.freepascal.org/Inno_Setup#Inno_Setup_for_Linux.2FOSX.3F
and
http://www.lazarus.freepascal.org/index.php/topic,14789.msg78576.html

If you don't want to write rpms or debs, you can write a shell script to install your program (e.g. install.sh) and package up the entire result in a .tar.gz.
Personnally, I would just follow one of the many tutorials for building debs and/or rpms... or more likely try to remove some bugs Bernd's work ;)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Is there a decent installer for Linux?
« Reply #6 on: October 27, 2012, 10:15:37 pm »
Here is my point of view:

Just make a great app. People will make the package for their distro if your app is good.
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Is there a decent installer for Linux?
« Reply #7 on: October 27, 2012, 10:59:01 pm »
In my opinion, the best tool ever for installing on linux/Unix is still make ;) When not using native package management that is... It's quite pleasant to use if you're not fearful of the console.

I was quite pleasantly surprised however when I saw you can actually base an entire package management on make (e.g. ports and pkgsrc on BSD systems).

Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: Is there a decent installer for Linux?
« Reply #8 on: October 28, 2012, 10:50:41 am »
http://openbuildservice.org/
(not tested by myself)

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: Is there a decent installer for Linux?
« Reply #9 on: October 29, 2012, 04:33:16 pm »
Thanks guys,
Coming from a Delphi/Windows world packaging for Linux is pretty foreign. When you are used to Inno setup which
is super easy and effective it can be pretty daunting.
My issue with most of these is they build from source, why can't I simply build a package from my already compiled exe file?
All my apps only have the exe and maybe a DLL or two. 

I guess I will just google around and see if I can find any decent walk through on how to create a binary only debian package.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

fretty1

  • New Member
  • *
  • Posts: 14
Re: Is there a decent installer for Linux?
« Reply #10 on: November 21, 2012, 11:47:37 pm »
install jammer is an option,  but it does not make RPM or DEB files
it is discontinued but still available
http://www.installjammer.com/

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Is there a decent installer for Linux?
« Reply #11 on: November 22, 2012, 12:59:28 pm »
I guess I will just google around and see if I can find any decent walk through on how to create a binary only debian package.
Don't forget to run Lintian on the built deb package to make shure all requirements are met. IMHO, it's not the script that makes packaging difficult.
And if you try theo's recommendation about openbuildservice.org please report your experience.
Lazarus 1.7 (SVN) FPC 3.0.0

tonyw

  • Sr. Member
  • ****
  • Posts: 321
    • MWA Software
Re: Is there a decent installer for Linux?
« Reply #12 on: November 23, 2012, 12:31:53 am »
There are two very good installers for Linux - the Debian Package Manager and the RPM (nee  Red Hat) Package Manager. Like anything, including Lazarus, they do have a learning curve associated with them but compared with Windows Installer, they are easy...

It is important to be able to use them because if you are going to check dependencies on install and set all permissions correctly, etc, you need to use the package manager appropriate for your distribution (e.g. deb for Ubuntu, rpm for Fedora).

In practice both are really just extensions of GNU autotools (autoconf, make, etc) that build a project and install them into a virtual location and then package up the result into an archive that can be extracted and installed straight on to your target system.

Having used Installshield under Windows and the more powerful Wix before coming to debs and rpms, you wonder why MS made such a mountain out of installation. Once you understand what is going on, they really are easy to use.

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: Is there a decent installer for Linux?
« Reply #13 on: November 23, 2012, 12:46:25 am »
Maybe this works for you: http://code.google.com/p/laz-cross-setup-builder/

Regards

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Is there a decent installer for Linux?
« Reply #14 on: November 23, 2012, 09:14:37 am »
What tonyw said.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018