CertNote/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
SAP-C02 · ProfessionalSolutions Architect - Professional
DOP-C02 · ProfessionalDevOps Engineer - Professional
Linux Master 2 · 2급KAIT Linux Master - Level 2
  • Week 1
    • 1.Operating Systems and the Kernel: What Linux Does
    • 2.The Birth of Linux: From Unix to Linus
    • 3.Free Software and Open Source: What a License Decides
    • 4.Distributions: The Unit That Bundles the Kernel and Tools for Sale
    • 5.Week 1 Review: The Identity Behind the Name Linux
  • Week 2
  • Week 3
  • Week 4
  • Week 5
  • Week 6
  • Week 7
  • Week 8
  • Week 9
  • Week 10
  • Week 11
SCS-C03 · SpecialtySecurity - Specialty
Linux Master 1 · 1급KAIT Linux Master - Level 1
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
SQLD · 개발자SQL Developer (SQLD)

© CertNote · 주간랩스

  • About
  • Changelog
  • Contact
  • Terms
  • Privacy
← Linux Master 2/Week 1/Day 3

Based on the Linux Master 2 exam syllabus·Report an error

Linux Master 2· AssociateWeek 1 · Day 3~25 min read

Day 3 - Free Software and Open Source: What a License Decides

📌 Key Takeaways

  • The "free" in free software means "freedom," not "no cost." It is defined by four freedoms: run, study, distribute, and improve.
  • The FSF (Free Software Foundation) emphasizes freedom, while the OSI (Open Source Initiative) emphasizes the practicality of the development method.
  • Licenses fall broadly into copyleft (GPL family) and permissive (BSD, MIT, Apache).
  • The GPL is viral. If you use GPL code, you must release the result under the GPL too.
  • The LGPL softens that virality by making an exception when you only link against a library.

The Four Freedoms of Free Software

This is the standard defined by Richard Stallman. A distinguishing feature is that the numbering starts from 0.

NumberFreedom
Freedom 0The freedom to run it for any purpose
Freedom 1The freedom to study and modify how it works (requires access to the source code)
Freedom 2The freedom to redistribute copies
Freedom 3The freedom to distribute your improved versions
  • A common misconception: "free software = gratis" is not correct.
  • The confusion arises because the English word "free" means both "no cost" and "freedom," so the FSF explains it as "free as in free speech, not as in free beer."
  • Selling it for money does not violate free software either. However, you must guarantee the four freedoms above to the buyer.

FSF and OSI: Same Code, Different Emphasis

CategoryFree software (FSF)Open source (OSI)
Founded1985, Richard Stallman1998
Core valueUser freedom (ethics, philosophy)Superiority of the development method (pragmatism)
TermFree SoftwareOpen Source
Representative licenseGPLVaried (including BSD, MIT, Apache, etc.)
  • The lists of licenses recognized by the two camps overlap almost entirely. Only the emphasis differs.
  • Together they are called FOSS or FLOSS (Free/Libre and Open Source Software).

The Open Source Definition (OSD)

  • The OSI was created in 1998 with Eric Raymond and Bruce Perens at the center. To ease the aversion the word "free" provoked in businesses, they put forward the name open source.
  • The OSI has the OSD (Open Source Definition), the criteria for judging which licenses are open source. It consists of 10 clauses based on the Debian Free Software Guidelines.
NumberClauseIn plain words
1Free redistributionDoesn't prevent selling or giving it away
2Source codeSource must be included or easily obtainable
3Derived worksModified versions must be distributable under the same terms
4Integrity of the author's source codeMay require modified versions to carry a different name or version
5No discrimination against persons or groupsCan't set conditions saying certain people can't use it
6No discrimination against fields of endeavorCan't impose limits like "no commercial use" or "research only"
7Distribution of licenseThe same rights follow to everyone who receives it
8License must not be specific to a productIt must not be valid only when included in a particular distribution
9License must not restrict other softwareDoesn't force conditions on other programs distributed alongside
10License must be technology-neutralDoesn't presuppose a specific technology or interface

⚠️ Trap: Because of clauses 5 and 6, software that is "usable for non-profit purposes only" is not open source. The same holds even if the source is published. It is wrong to jump to "source published = open source."

Similarly Named Software Categories

Not everything labeled "free" is the same. Whether the source is published and whether you pay are independent axes.

CategorySource codePriceKey point
Commercial (proprietary) softwareClosedPaidYou buy only a right to use. No modification or redistribution
SharewareClosedFree for a limited period or limited featuresTry it, and pay if you want to keep using it
FreewareClosedFreeCosts nothing, but you have no right to modify or redistribute
Public domainNo restrictionsFreeCopyright has been waived or has expired. No conditions at all
Free / open source softwarePublishedCan be free or paidCopyright remains alive, and you must follow the license terms
  • Freeware ≠ free software. Freeware merely costs zero; it lacks the four freedoms.
  • Public domain ≠ open source. Open source is permission granted by the copyright holder who keeps the rights and attaches conditions, while public domain has no conditions to attach in the first place.

The Two Branches of Licenses

                    Open source licenses
                            │
          ┌─────────────────┴─────────────────┐
          ▼                                   ▼
      Copyleft                            Permissive
   (copyleft, viral)                  (permissive, lenient)
          │                                   │
   ┌──────┴──────┐                    ┌───────┼───────┐
   ▼             ▼                    ▼       ▼       ▼
  GPL          LGPL                 BSD     MIT    Apache
 (strong       (weak
  copyleft)     copyleft)

Copyleft — The GPL Family

  • Core rule: When you distribute a work that uses GPL code, that work must also be released with source under the GPL.
  • This property is called viral. It is copyleft in the sense that it flips copyright.
  • Note: the obligation arises only when you distribute. If you use it only inside a company and don't distribute it, there is no obligation to release.
LicenseFeature
GPL v2The license the Linux kernel uses
GPL v3Adds a patent clause and a clause preventing hardware locking (Tivoization)
LGPLIf you only link a library, you don't have to release your own code
AGPLThe source-release obligation arises even if you only provide a service over the network

Permissive — BSD, MIT, Apache

  • There are almost no conditions. As long as you keep the copyright notice, you can put it into a commercial product and keep the source closed.
LicenseFeature
BSDJust keep the copyright notice. Very simple
MITPractically identical to BSD. The shortest and widely used
Apache 2.0Copyright notice + a clause explicitly granting patent rights
MPLFile-level copyleft. You only need to release the files you modified

The exam has questions asking about "the obligations when selling a modified program distributed under the GPL." The answer is that selling itself is allowed, but you must release the source code along with it.

License Comparison at a Glance

LicenseRelease source when distributing modificationsCombining with closed programsPatent clauseRepresentative software
GPL v2RequiredThe whole combined work becomes GPLNo explicit clauseLinux kernel
GPL v3RequiredThe whole combined work becomes GPLYesGCC, bash
LGPLOnly the parts of the library you modifiedLinking is allowedDepends on versionglibc (GNU C Library)
AGPLRequired + also for network servicesThe whole combined work becomes AGPLYes—
MPLOnly the modified filesAllowedYesFirefox
BSDNot requiredAllowedNoFreeBSD
MITNot requiredAllowedNoX Window System
Apache 2.0Not requiredAllowedYesApache web server, Android (mostly)
  • Reading the table from top to bottom goes from strongest conditions to weakest. The GPL and AGPL are the strongest, and BSD and MIT the weakest.
  • Where Apache departs from BSD and MIT is patents. It includes a sentence in which contributors license their patents to users, and modified files must also state the fact that they were modified.
  • BSD originally had an advertising clause requiring "mention the University of California, Berkeley in ads for products that use this software" (4-clause BSD). The version without this clause is the 3-clause and 2-clause BSD commonly used today.

What the GPL Actually Requires

When you hand over a GPL program (or a modified version of it) to others, what you must do boils down to four things.

  1. Provide the source code along with it, or attach in writing a promise to provide it on request.
  2. Provide the full GPL text (a copy of the license) along with it.
  3. Don't remove the original copyright notices.
  4. Don't impose additional restrictions on recipients — you can't add conditions like "no redistribution."
VersionReleasedWhat to remember
GPL v11989The first version
GPL v21991Adopted by the Linux kernel. Used widely for the longest time
GPL v32007Added a patent clause and anti-Tivoization

🔍 Going deeper: Tivoization comes from the digital video recorder company TiVo. TiVo released the Linux kernel source as the GPL requires, but made its devices refuse to run software lacking the manufacturer's signature. A situation where you got the source but couldn't run your modified version — GPL v3 added a clause to prevent this, and the Linux kernel did not agree to that change, so it stayed at v2.

Judging by Situation

SituationSource-release obligation
You modify a GPL program and use it only in-houseNone — it isn't distribution
You modify a GPL program and sell it to customersYes — you must give the source to the buyer
You embed GPL code in your program and distribute itYes — your whole program becomes GPL
You distribute a program that only links an LGPL libraryNone for your code (but yes for the library part if you modified it)
You modify an AGPL program and offer it only as a web serviceYes — you must release to users even without distributing
You embed MIT/BSD code and sell a commercial productNone — just keep the copyright notice and license text
  • Companies sometimes offer both the GPL and a commercial license (dual licensing). Customers who find the GPL terms burdensome pay for a commercial license. MySQL is the classic example.

Commonly Confused Pairs

QuestionAnswer
Is free software gratis?No. Selling it for a fee is also possible
Can you sell a GPL program?Yes. But you must release the source
If you use it only in-house, must you release it?No. Without distribution there is no obligation
Can you put BSD code in a commercial product?Yes. Just keep the copyright notice
What is the Linux kernel's license?GPL v2

Tomorrow we look at the unit that bundles this kernel and these tools together for sale — the distribution.

📖 Glossary

  • Free software : Software that guarantees the four freedoms of running, studying, redistributing, and improving.
  • FSF : The Free Software Foundation. Founded by Richard Stallman in 1985.
  • OSI : The Open Source Initiative. Founded in 1998, it emphasizes the practicality of the development method.
  • Copyleft : A licensing approach that enforces the same freedoms on derived works. The GPL is the classic example.
  • Permissive : A lenient license with almost no conditions. BSD and MIT are the classic examples.
  • GPL : The GNU General Public License. The Linux kernel follows GPL v2.
  • LGPL : The GPL for libraries. It exempts you from the source-release obligation when you only link.
  • FOSS/FLOSS : A term covering both free software and open source.
  • Freeware : Software that can be used for free but whose source is not published and that carries no right to modify or redistribute.
  • Public domain : A state in which copyright has been waived or has expired and the work can be used with no conditions.

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

Which of the following is the license adopted by the Linux kernel?

Question 2

Which of the following correctly describes free software?

Question 3

Which of the following best describes the GPL license?

Question 4

Which of the following is the license that relaxes the rules so that you don't have to release your own source code when you link and use a library?

Question 5

Which of the following groups consists of permissive licenses?

PreviousThe Birth of Linux: From Unix to LinusWeek 1 · Day 2Next Distributions: The Unit That Bundles the Kernel and Tools for SaleWeek 1 · Day 4

Official references

  • Linux Master 2 official exam syllabus(opens in a new tab)

On this page

  • Key Takeaways
  • The Four Freedoms of Free Software
  • FSF and OSI: Same Code, Different Emphasis
  • The Open Source Definition (OSD)
  • Similarly Named Software Categories
  • The Two Branches of Licenses
  • Copyleft — The GPL Family
  • Permissive — BSD, MIT, Apache
  • License Comparison at a Glance
  • What the GPL Actually Requires
  • Judging by Situation
  • Commonly Confused Pairs
  • Glossary
  • Practice Questions