How to dual license

copyrightgpllicensingopen source

I'd like to open source a project of mine under GPL v3. Additionally, I'd like to sell a license for those who wish to use the code in a proprietary application.

How do I go about releasing my source code under GPL v3, while also reserving the right to release it under another license of my choosing? Do I still put the GPL header at the top of each of my source files?

I'm rather new to the legal side of software.

Best Answer

You don't need to put a GPL header in the source - you don't need to do anything. Although a copyright notice of your name and date in the file is useful and may be required in some areas.

I would probably include your name/email/website in the header and a note saying "see licence.txt for terms" then you don't have to worry about having different source files for GPL/Commercial.

The GPL is a distribution licence, when you distribute a copy of your project under GPL you include the GPL text file (and make the source available). When you distribute it yourself you include whatever commercial license file you wish.

The only complexity is if you accept fixes from GPL users - they own those fixes and you can only distribute them under GPL. Unless you can get the authors to assign the copyright to you.

Related Topic