I wonder how much of its popularity is tied to the fact that it is free.
Probably some. But licensing issues, openness, and adherence to standards probably has more to do with it.