How to use an Open Source License

I'm a little unsure how the open source licensing stuff works. If I were to choose a particular open source license, what do you actually have to do to make it applicable to your software? I would imagine it would be a little more involved than just 'stating' that you're releasing your software under LGPL. And how does this 'contract' bind legally to your software?


It's as simple as deciding to license your software under a particular license. This is not technically contract law, but copyright law. As the owner/licenser of your intellectual property (the source and binaries) you may license its distribution anyway you see fit. Providing a clear disclaimer as to the recipients rights under the license is all that is necessary. Without a license, whether closed or open, no one has a right to distribute your copyrighted work. The purpose of all licenses is to grant some of your rights to other parties.

See here for more information. Or for perhaps too much information, check out O'Reilly's Understanding Open Source and Free Software Licensing.

~ William Riley-Land


No, that's pretty much it. From the GPLv3 text, add this to your program:

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year>  <name of author>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

The "contract" is this: without the GPL, no one but you has any right to distribute your program. They have no copying rights. The GPL says that if they abide by its terms, then you grant them the additional rights of distributing copies of your code.

There are other Free/Open Source Software licenses, but I'm just using this as an example.


对于GNU许可证,至少,您遵循他们的指示,然后您根据该许可证授权您的软件(或文档)。

链接地址: http://www.djcxy.com/p/79522.html

上一篇: 关于分发源代码的GPL / LGPL许可证

下一篇: 如何使用开源许可证