From point A to point B
Point A: you use free software every day, maybe without knowing it, and terms like GPL, copyleft or FLOSS sound familiar but you could not explain them. Point B: by the end of this chapter you will recognize the most important open source applications, understand what each type of license allows and how the people who work with this software make a living, plus basic good practices for privacy and security.
This topic is not about commands, it is about context. And in a job interview or an architecture decision, context makes the difference.
Open source applications you should know
| Category | Applications |
|---|---|
| Office | LibreOffice (Writer, Calc, Impress, Base), community successor to OpenOffice.org |
| Multimedia and design | GIMP, Inkscape, Audacity, Blender, VLC, ImageMagick |
| Internet | Firefox, Chromium, Thunderbird (email), FileZilla (FTP), Transmission (torrent) |
| Web servers | Apache HTTP Server, NGINX, lighttpd |
| Databases | MySQL, MariaDB (a fork of MySQL), PostgreSQL |
| Files and private cloud | Nextcloud, ownCloud, NFS and Samba for network sharing |
| Languages | C, Java, JavaScript, Python, PHP, Perl and shell scripts |
Many of these names come back throughout the path: NGINX, MySQL and PostgreSQL are common images in Docker and Kubernetes.
The four freedoms of free software
The Free Software Foundation (FSF), founded by Richard Stallman, defines free software through four freedoms. "Free" refers to freedom, not price: free as in freedom, not free beer.
The four freedoms and the license spectrum. Diagram: The House of Routing.
Free software and open source: the same thing?
In practice, almost always. The Open Source Initiative (OSI) publishes the Open Source Definition and approves the licenses that meet it; those licenses also allow you to use, study, modify and redistribute. The difference is one of focus: the FSF frames it as an ethical issue; the OSI, as a more effective development model.
That is why terms that bring both worlds together are used: FOSS (Free and Open Source Software) and FLOSS (Free/Libre and Open Source Software).
Licenses: copyleft, permissive and Creative Commons
Copyleft
Copyleft, championed by the FSF, uses copyright to protect freedom: if you distribute a modified version, you must do so under the same license, so the four freedoms are preserved. The copyleft license par excellence is the GNU GPL; the Linux kernel uses GPL version 2.
Permissive
Permissive licenses, such as BSD, MIT or Apache 2.0, also grant the four freedoms, but do not require you to preserve them: you can include the code in a closed product and sell it, as long as you keep the copyright notice. They usually include a clause that releases the authors from liability if the software fails.
Creative Commons
For text, images, music or courses, Creative Commons licenses are used, which combine four conditions:
| License | What it allows |
|---|---|
CC BY | Any use, crediting the author |
CC BY-SA | Like BY, and derivative works are shared under the same license (the "copyleft" of CC) |
CC BY-ND | Redistribution crediting the author, without modifications |
CC BY-NC | Like BY, but no commercial use |
CC BY-NC-SA | No commercial use, and share alike |
CC BY-NC-ND | The most restrictive: no commercial use and no modifications |
CC0 | Waives all rights: equivalent to the public domain |
How do you make money with free software?
Open code does not mean nobody gets paid. These are the most common models:
- Services: installation, support, training and customization. This is the model of Red Hat or SUSE with their enterprise subscriptions.
- Employment: companies of every size hire people who master Linux and the open tools they use.
- Dual licensing and open core: a free version and a commercial one with extra features or a different license.
- Software as a service: the code is open, but you charge for running it in the cloud on the customer's behalf.
- Donations and sponsorship: foundations, crowdfunding and developer sponsorship programs.
Desktop environments and the command interpreter
Linux does not have a single desktop: you choose. The two most widespread are:
- GNOME: written in C, uses the GTK library. It is the default desktop on Ubuntu and Fedora.
- KDE Plasma: written in C++, uses the Qt library. Highly configurable, preferred by many advanced users.
There are lighter ones, such as Xfce, LXQt or Cinnamon. Servers, on the other hand, usually run without a graphical environment: everything is done from the command line.
Getting to the command line
- Terminal emulator: a window inside the desktop, such as GNOME Terminal, Konsole, xterm or Terminator.
- Virtual consoles: on many distributions,
Ctrl+Alt+F1throughF6open full-screen text consoles; the exact number, and which one shows the desktop, vary by distribution. - Remote: on servers and in the cloud you will log in over SSH, a topic in the security section of the exam.
Privacy, passwords and encryption
Browse wisely
- Cookies identify your session and let third parties track your activity. Review and delete them from your browser settings.
- Incognito mode does not keep history or cookies when you close it, but it does not make you anonymous: your internet provider and the sites you visit still see your traffic.
Passwords
- Use long, unique passwords for each service; a passphrase of several words is easy to remember and hard to guess.
- Store them in a password manager such as KeePassXC or Bitwarden, both open source.
- Turn on two-step verification whenever you can.
Encryption
Encrypting means transforming a message so that only the recipient can read it. Day to day you will see it in:
- TLS, successor to SSL: it protects the web (
https://), email and many other connections. - GnuPG: signs and encrypts files and email.
- Disk encryption: LUKS with
dm-crypton Linux, or VeraCrypt across platforms.
gpg --full-generate-key # creates your key pair
gpg -c report.pdf # encrypts with a passphrase: produces report.pdf.gpg
gpg -d report.pdf.gpg > report.pdf # decrypts
Linux Essentials-style challenge
Answer before you open the solution. Getting it wrong here is the cheapest way to learn.
1. What does a copyleft license like the GPL require from someone who distributes a modified version?
To distribute it under the same license, so the four freedoms are preserved in derivative works.
2. You want to use a library in a closed-source commercial product. Which type of license allows it without forcing you to open your code?
A permissive one, such as BSD, MIT or Apache 2.0, keeping the copyright notice.
3. Which organization approves the licenses that meet the Open Source Definition?
The Open Source Initiative (OSI). The FSF, for its part, defines free software and publishes the GPL.
4. A photo licensed under CC BY-NC: can you use it in your company's ad?
No. NC means non-commercial use. You need a different license or the author's permission.
What you take away
- Free means freedom: run, study and modify, redistribute and share improvements.
- The FSF defines free software; the OSI approves open source licenses. FOSS and FLOSS bring them together.
- Copyleft (GPL) protects the freedoms in derivative works; permissive licenses (BSD, MIT, Apache) do not require it.
- Creative Commons is for content: BY, SA, ND, NC and CC0.
- People make a living from open source through services, employment, dual licensing, SaaS and sponsorship.
- Unique passwords in a manager, two-step verification and encryption are your security baseline.
In the next chapter you open the terminal: commands, variables, help and how to move around the file system.
Official resources
- What is Free Software?gnu.org
- The Open Source Definitionopensource.org
- OSI Approved Licensesopensource.org
- GNU General Public Licensegnu.org
- About CC Licensescreativecommons.org
- Linux Essentials 2.0 objectiveswiki.lpi.org
Source and credits. Chapter written from Jesús Espinoza's study notes for the LPI Linux Essentials certification (2022), updated to version 2.0 of the exam (010-200). Text drafted with AI assistance; original diagrams by The House of Routing. Technical details were checked against the official documentation from LPI, GNU and the distributions.