Hi, I need to create an installer for specific linux applications for only Ubuntu, some applications are listed in the package manager (I use Synaptic) and some others doesn't, or only come as deb.
The installer should manage the dependencies and install them for each application. The applications should be checked in a list (like a list of checkbox) first and then if checked only gets installed.
Applications can be 32 or 64 bit, so if the distro is 32 bit run of course the 32 bit installer and list only the 32 bit capable ones. If it's 64 bit list all and also install the i386 architecture dependency.
The idea is to create a Lazarus executable that manages the list, and then a .sh or maybe inside the same lazarus the installer. How to handle permissions, or in other words how to ask for password to install as sudo?
I know the applications sometimes doesn't works if that was made for a specific Ubuntu version. So I need to check the OS version also, or made different bundles one for each OS.
I'm new to linux, for that I ask here for suggestions, and for that this question is also too generic.
If there's a better approach than a lazarus application is also welcome.
The idea is to create a package of game-emulators, and the user will choose what to install.
There's a package for Debian called games-emulator, and that package installed with Synaptic for example uses a lot of 'official' emulators and install all of them also the dependencies, and of course I can uncheck these I don't want.
An option is to help the ubuntu community to compile and submit more emulators to the official list, but is far beyond my knowledge and time.