Forum > General
Develop for Ubuntu Software catalog with Lazarus?[Solved]
Robert W.B.:
Hi. Is it possible to develop apps with Lazarus for Linux Ubuntus Software catalog with Lazarus and freepascal?
Thanks in advance
Robert
dbannon:
Short answer, yes.
Long answer, Ubuntu builds most (but not all) of its Repository (I think thats what you are referring to) from the Debian Repository. They do have a means of taking apps directly but are not especially keen. But Unbuntu also has a facility called PPA (Personal Project Archive ?) where you can put your application in such a way that Ubuntu users can accept it directly through the apt system.
Getting an app into Debian is quite a project, you have very strict legal requirements, all parts must have a clear and approved license. And it needs to be build-able from an officially structured Debian Source package. You will need to seek a Debian mentor to shepherd you through the process.
Davo
mdalacu:
Or you can make a snap and try to publish it ;)
devEric69:
short answer = yes.
Ubuntu \ Canonical has an official centralized softwares repository here: https://snapcraft.io/ (queried by the deamon snapd). As the name of its repository site indicates, Ubuntu now promotes the installation of snap packages on its desktop distributions (PPAs remain the norm on server distributions, of course). For information, each snap installation creates an associated mount point.
That said, afaik, basically, a snap can package a *.deb, *.appImage, *.flatpak, or 0install package (package of package i.e. repackaging; ex.: https://forum.snapcraft.io/t/install-existing-deb-file-as-part-of-snap-installation/10822/3)... Strange, but not impossible.
The advantage of creating a snap is to take advantage of the "distribution power" of the Ubuntu's snap store (e.g. Apple store, or Windows store). In other words, it allows to publish a binary software package by being correctly referenced, indexed in their store-catalog, and then installable from their store-catalog, without having to rely only on a good Google ranking for example.
dbannon:
Of Snaps and Flatpacks ....
I looked at the flatpack model and could not see a way to make it work with my app and perhaps even with a Lazarus app. Be very interested in hearing from other users.
I get the impression that Snaps are less popular than Flatpack but poor old Cannonical won't give up. The issue I see is they are a huge disk eating machine, needing to have a complete GTK2 (or Qt5) Snap installed as well. Even if the system already has GTK2 installed in a regular mode. My end users apparently were quite welcoming of my PPA, not had any Snap requests recently.
I would love to hear what other people's thoughts are, I have only looked at both Flatpack and Snap very superficially.
Davo
Navigation
[0] Message Index
[#] Next page