Software has zero marginal costs and infinite supplies, and therefore the free market would only ever give it a price of zero. The reason that it does not is because of the government interfering.
Economics is very clear on this. You tax negative externalities and subsidize positive externalities. Discovering new open source software is a positive externality. Subsidize it.