Re: Creation of a Software Installation Package which can be installed on all Linux Distributions



info@xxxxxxxxxxxxxxxxx wrote:

Hi,
does anybody has some experience concerning the creation of
file set (RPM, Debian, tar files) which can be installed and
executed on all Linux distributions?
The creation of RPM or Debian files are not difficult to
master but I would like to know how to deal with share
libraries. Is there a way to put all needed libraries into
the package? Is it always necessary to build the file set on
the targeted distribution?

The installer I'm developing for our game comes as a self
extracting archive. However it will register with the avaliable
package management system: Within the installer there are bogus
packages (RPMs for the different RPM based distributions, deb
for Debian and Ubuntu and an ebuild for the Gentoo folks).
Before starting the installation it checks for avalibility of
the package manager's binaries and uses them on the packages to
check for required dependencies. If all dependencies are
fullfilled the best matching package is installed (this will
prepare the game installation directory and launch the file copy
process). If no package manager is avaliable, or if the user
cooses to bypass it, then the files are copied directly.

The advantage of this approach is, that the end user can use his
distribution's package manager to uninstall the game. Similarily
the user might also fed one of the avaliable package files on
the distribution medium into the distribution's package manager.

Wolfgang Draxinger
--
E-Mail address works, Jabber: hexarith@xxxxxxxxxx, ICQ: 134682867
GPG key FP: 2FC8 319E C7D7 1ADC 0408 65C6 05F5 A645 1FD3 BD3E
.



Relevant Pages

  • Re: Reliable way to determine native packaging system
    ... having to map distributions to packaging ... Maybe you have your reasons that I don't understand but package ... Linux distribution is easier than searching for rpm or dpkg ... commands and checking if they are dominant package managers on the ...
    (Fedora)
  • Re: simple way to build rpm?
    ... is the build environment safe? ... The installer is in the same position as an RPM ... need to put the effort into creating the package so that it’s simple to ...
    (Fedora)
  • Re: debian
    ... Given that distrowatch has hundreds of ... different and not always compatible distributions, ... Make your own package will solve the problem, for most package managers there are howtos how to make your own package. ... For RPM there is a nice little installer provided my Mandrivia that updates the RPM database and install the files, not sure if there are such for deb. ...
    (alt.linux)
  • Re: Strange dependencies added by rpmbuild
    ... the installer obivously didn't need them. ... But *you* control what you put into the %files section of your RPM ... you didn't post the package spec file. ... dependencies for all files included in the package. ...
    (RedHat)
  • Re: F10, VMware Server 2.0, and selinux
    ... to a common installer between Debian and RPM ... built-in package management tools. ... thing to do in an RPM based distro. ... they wanted people to start using the .bundle installer. ...
    (Fedora)