4

From my vague understanding of this subject I assumed that if I make an installer for my program and it contains a GPL library my code would have to fall under GPL. However, I noticed yesterday when installing Ubuntu that its installation had checkboxes (selected by default) to install non free software.

This question specifies about programming behavior and says that my program wouldn't fall under GPL as long as the library can be seem as separated programs but it does not say anything about making a common installer for the package.

I saw this answer saying about common installers in StackOverflow in Portuguese and it does say about a common installer making the code fall under GPL.

If I create an installer for the library and put my non-free program that uses that library there as an option my program wouldn't fall under GPL ?

Mansueli
  • 141
  • 4

1 Answers1

7

The part of the GPL FAQ which says

We believe that a proper criterion [for drawing a line between two separate programs] depends both on the mechanism of communication [...] and the semantics of the communication.

is IMHO really clear - putting separate GPL and non-GPL programs in one installation package has nothing to do with communication between those programs. So this fact alone is no criteria for enforcing GPL on a non-GPL software.

Furthermore, the GNU GPL FAQ says:

The installer and the files it installs are separate works. As a result, the terms of the GPL do not apply to the installation software.

This means not even the installer has to be GPL when used for packaging GPL modules (and why should other non-GPL modules in the same package become "GPL" when not even the installer has to?).

However, you are talking about

a non-free program that uses that [GPL] library

and not about

a non-free program that uses a [GPL] software through pipes, sockets or a command-line interface

So, when your program uses a GPL library (by linking against it), the GPL will apply and you have to put your own program under GPL due to the fact you are using a standard linking mechanism, but not to the fact you put those modules into the same installation package.

Doc Brown
  • 218,378