Based on the Linux Master 1 exam syllabusReport an error
Licenses and distribution families are in scope for the Level 1 exam. The starting point is the fact that "free-of-charge software" and "open source" are two historically and philosophically different movements.
Free Software
Open Source
What got Stallman started on the free software movement was a trivial incident. During his time at MIT, he wanted to add a feature to a Xerox printer that would notify users of paper jams, but the manufacturer refused to release the source code. The frustration of "I can't fix a tool that's in my own hands" led to a lifelong movement. One small printer became the seed of the huge free software movement.
"Copyleft" is a pun that plays on "Copyright." It flips Right (as in the right-hand side / a right) to Left, meaning that instead of monopolizing rights, it preserves freedom. The "All rights reversed" written on the FSF logo is the same joke.
Licenses are broadly divided into the copyleft family (GPL) and the permissive family (BSD, MIT, Apache). On the exam, the key is to correctly distinguish whether there is a "derivative work disclosure obligation."
| License | Family | Source disclosure of derivatives | Features |
|---|---|---|---|
| GPL | Strong copyleft | Required (everything) | Forces GPL even onto linked code |
| LGPL | Weak copyleft | Library only | Can be combined with a closed-source app when dynamically linked |
| BSD | Permissive | Not required | Free to use as long as the copyright notice is kept |
| MIT | Permissive | Not required | The most concise; closed-source commercial use is possible |
| Apache 2.0 | Permissive | Not required | Includes a patent protection clause |
# Check the license information of installed packages
# RPM family
rpm -qi bash | grep License
# Debian family - location of the package copyright document
ls /usr/share/doc/bash/copyright⚠️ Pitfall: The exam has a trap question: "Must a closed-source program that dynamically links an LGPL library disclose its source?" The answer is it does not have to. That is exactly the point of the LGPL. On the other hand, if you link a GPL library, you must disclose everything. Summed up: "dynamic linking + LGPL = can stay closed."
The GPL has versions. GPLv2 (1991) and GPLv3 (2007) are the main ones. GPLv3 prohibits "Tivoization" (using hardware to prevent modification of GPL software) and strengthens the patent clauses. Linus Torvalds objected to some provisions of GPLv3, so the Linux kernel is still tied to GPLv2. This is an important license characteristic of the Linux kernel.
In Day 1 we learned that "Linux is only the kernel." The Ubuntu and CentOS we install are distributions (distros), finished products that bundle the following together.
The Linux kernel
GNU system tools (bash, coreutils, gcc, etc.)
A package management system (install, update, dependency management)
A desktop environment (GNOME, KDE, etc.; omitted in server editions)
Default applications and configuration
Each distribution has a different philosophy and target audience: servers that put stability first, desktops that quickly adopt the latest technology, learning, security-focused, and so on — hundreds of them.
What matters on the exam is the family. Most distributions branched from three roots, and distributions in the same family have similar package management and directory structures.
| Distribution | Position | Description |
|---|---|---|
| RHEL | Commercial | Red Hat's paid enterprise product, includes technical support |
| CentOS | Free clone | Free edition based on RHEL source (now moved to CentOS Stream) |
| Fedora | Upstream development | Testbed for the latest technology, RHEL's upstream |
| Rocky/AlmaLinux | Free clone | RHEL-compatible clones that appeared after CentOS changed direction |
| Amazon Linux | Cloud | AWS-optimized RHEL family |
rpm: installs individual .rpm files but cannot resolve dependencies automatically.yum (older) and dnf (newer): download packages and their dependencies together from a repository and install automatically.# Low-level - install an individual package file (dependencies handled manually)
rpm -ivh package.rpm # install, verbose, hash
rpm -qa # Query all installed packages
rpm -e package # Remove a package
# High-level - automatic dependency resolution (repository-based)
dnf install httpd # or yum install httpd
dnf update # Update everything
dnf remove httpd
dnf search keywordThe name "Fedora" comes from the red fedora hat in the Red Hat logo. Fedora serves as Red Hat's laboratory. Once the latest technology proven here stabilizes, it goes into RHEL. In other words, technology flows down in the order Fedora → RHEL → CentOS (clone).
| Distribution | Position | Description |
|---|---|---|
| Debian | Base | Maximizes stability, the root of every Debian-family distribution |
| Ubuntu | Desktop/server | The most popular distribution, made by Canonical |
| Linux Mint | Desktop | Ubuntu-based, emphasizes ease of use |
| Kali Linux | Security | Debian-based, specialized for penetration testing |
| Raspberry Pi OS | Embedded | Debian-based, for the Raspberry Pi |
dpkg: handles individual .deb files but cannot resolve dependencies automatically.apt (or apt-get): handles even dependencies automatically from a repository.# Low-level - individual package files (dependencies handled manually)
dpkg -i package.deb # Install
dpkg -l # List installed packages
dpkg -r package # Remove
dpkg -L package # List the files installed by a package
# High-level - automatic dependency resolution (repository-based)
apt update # Refresh the repository package list
apt install nginx # Install
apt upgrade # Upgrade
apt remove nginx # RemoveMemorizing the correspondence between the RPM family and the DEB family as a table is very useful for the exam. Low-level: rpm ↔ dpkg. High-level (automatic dependencies): dnf/yum ↔ apt/apt-get. Package extension: .rpm ↔ .deb. Questions asking for this correspondence appear in almost every exam round.
| Distribution | Position | Description |
|---|---|---|
| SLES | Commercial | SUSE Linux Enterprise Server, for enterprises |
| openSUSE | Free | Community edition (Leap: stable, Tumbleweed: rolling release) |
zypper install apache2 # Install a package on SUSE
zypper update # Update
yast # Integrated text/GUI system configuration toolSUSE uses RPM, but it is generally treated as an independent family rather than classified under Red Hat. This is because the package "format" (.rpm), the package "management tool" (zypper vs. dnf), and the system administration philosophy (YaST) are all different. If a trap question appears on the exam such as "Which package format does SUSE use?", the answer is RPM. The family is different, but the format is RPM.
rpm, dpkg) and high-level (dnf, apt) tools exist separately is dependencies.apt install nginx, every library nginx needs is automatically found and installed together. This is the key reason modern Linux distributions are easy to use.⚠️ Pitfall: Getting a "Failed dependencies" error while installing a package with
rpm -ivhis normal, because low-level tools cannot resolve dependencies. Forcing the install with the--nodepsoption can break the program, so the exam point is that when dependencies are needed you must use a high-level tool such asdnf/yum.
Next time, we'll cover the partition design you encounter when actually installing Linux, the GRUB2 bootloader, and the boot process in which the system comes alive from the moment you power it on.
.rpm) used by Red Hat and SUSE, and also the low-level install command..deb) and the low-level command that handles it.apt and dnf download from it.Click a choice to reveal the answer and explanation.
Question 1
Which of the following is a correct description of copyleft and the GPL license?
Question 2
Which license allows a closed-source commercial program to dynamically link a library and still keep its own source code undisclosed?
Question 3
Which is the correct correspondence between the package management tools of the Red Hat family and the Debian family?
Question 4
Which of the following distribution-to-family pairings is NOT correct?
Question 5
Which is a correct description of SUSE family distributions?
Question 6
Which is a correct description of the meaning of "Free" in the free software movement and its four freedoms?