What Is Open Source Software? Is It the Same as Free Software?
Much of your phone, your browser and the websites you visit is built on open source software.
Open source software is software whose source code anyone can see, study, and change and share as far as its licence allows. Source code is the human-readable text programmers write that determines how a program works.
How it differs from freeware
Freeware can be used without paying, but its source code may be closed. Open source is not about price but about the code being open. Most open source software is free, but paid support or services for open source software can also be sold.
Licences
Open source projects are published under a licence that sets out what can be done with the code:
- Permissive licences (such as MIT, Apache 2.0): the code can be used in almost any way, including in commercial products; usually the copyright notice must be kept.
- Reciprocal licences (such as the GPL): if you change and distribute the code, you must release your changed version under the same licence.
- Middle-ground licences such as the LGPL: allow a library to be used with closed-source programs under certain conditions.
Advantages
- Transparency: because anyone can read the code, security holes can be spotted.
- Community: developers from around the world can contribute.
- Independence: even if a company abandons a project, the code can live on.
- Learning: reading the code of real projects is one of the best ways to learn programming.
Everyday examples
- The Linux kernel: the basis of Android phones and most internet servers
- The Firefox browser and the Chromium project behind Chrome
- WordPress: the platform behind a great many websites
- VLC media player and the LibreOffice suite
- FFmpeg: a widely used library for converting video and audio
Frequently asked questions
Is open source software safe?
Open code does not automatically guarantee security, but it makes problems easier to see and fix. Prefer actively maintained projects and versions downloaded from official sources.
How can I contribute to open source?
Writing code is not the only way. Reporting bugs, writing documentation and translating are valuable contributions too.