Chapter 1 - Starting Linux
Linux is a powerful and versatile operating system that gives you complete control over your computer. Whether you're looking for stability, security, or customization, Linux has something to offer for everyone. In this chapter, we'll explore the basics of Linux, including its distributions, release types, and modularity.
Why Choose Linux over Windows or MacOS?: https://youtu.be/DNg2M88_Hl0
Distributions
Linux by itself doesn't include programs and things to make a fully function computer. So we have Linux distributions. There are many Distributions, in fact, hundreds of them that can be rather confusing. However there are three main branches that comprise the most amount of users and will be the focus of this book.
Overview of All Distributions on Linux: https://youtu.be/DKFnqAtEOvc
Debian-Based Distributions
These are the majority of Linux users and most online guides are written with them in mind. They typically are very stable and long term support. When you hear Ubuntu, Linux Mint, Pop OS, Elementary OS, KDE Neon, Peppermint, and much more... they are all based around Debian. This means how you install programs and the package manger is all the same. This is typically where most users start from. Anytime you see the command apt install or .deb package the installation instructions are geared for a this distribution branch.
RHEL-Based Distributions
RedHat Enterprise Linux is what RHEL stands for. This is the backbone of many Linux servers as any RHEL based distribution is built with security and stability in mind. There are 3 distributions that most think of when it comes to the RHEL category. RedHat Enterprise Linux (Subscription-Based), CentOS (RHEL clone but no subscription), and Fedora. The package manager for these distributions is dnf install or yum install and utilizing the .rpm packages you download from sites.
Arch-Based Distributions
Arch Linux is a user created distribution that isn't backed by any company and has some unique features as a result. The main distributions you hear about in this category are Arch Linux and Manjaro. It's package manager syntax looks like pacman -S packagename and doesn't have downloadable packages like Debian or RHEL distros. It does however have a unique feature called the AUR (Arch User Repository) and is able to build programs on the fly. While this is incredibly powerful, it can also be dangerous as these aren't vetted and sometimes have old packages that are out of date. So if using the AUR always check the site to make sure it is up to date and is a legitimate source.
Distribution Type | Examples | Package Manager Syntax | Key Features |
---|---|---|---|
Debian-Based | Ubuntu, Linux Mint, Pop OS | apt install | Stable, beginner-friendly |
RHEL-Based | CentOS, Fedora | dnf install / yum install | Secure, server-focused |
Arch-Based | Arch Linux, Manjaro | pacman -S | Rolling release, highly customizable |
Release Types
Lets go over the two types of distribution releases you will encounter Rolling and Stable. Both have their pros and cons, but depending on how you use your PC one might better than the other for you.
LTS vs Rolling Release: https://youtu.be/B-NG5gW5QnM
Rolling Release
Arch Linux is what is called a rolling release, which is a version of Linux that isn't tied to a single version of the Linux kernel. By comparison, Ubuntu does 6 month releases where it will not update major system components. Arch can update the Linux kernel and other core system components every week or everyday in some instances. This is a double edged sword, as you get the latest and greatest features, but you are also prone to more bugs.
Stable LTS Release
Debian and RHEL based distributions are typically using a proven release cycle. Each distribution can have different release schedules and vary from a couple months to several years. The distributions that are specifically called LTS (Long Term Support) are made with longevity in mind. The support structure can range from 5 years (Ubuntu LTS) to 10 Years (CentOS Versions). The downside to using stable releases is the packages are sometimes considered old and are not as up to date. However, these versions will run for years and are extremely stable.
Modularity
The power of Linux is that no matter what distribution you choose, it is modular. You can modify and make massive changes to drastically change the user experience. This gives you the power to make Linux operate how ever you see fit and you are the only thing holding it back.
Linux's modularity allows you to tailor your system to your needs. Whether you're building a lightweight system for an old laptop or a high-performance gaming rig, Linux gives you the tools to make it happen. Here are some examples:
- Server Setup: Install only essential server packages and skip the desktop environment.
- Lightweight Desktop: Use LXDE or XFCE for older hardware.
- Gaming System: Install Steam, Proton, and GPU drivers for a complete gaming experience.
What Distribution Should You Use
I don't consider Linux complex, but more of a rabbit hole of infinite possibilities. This is very overwhelming for a new user and often misunderstood. That is why I always recommend popular distributions with widespread support and resembling the operating system they are coming from. For Windows Users, I recommend starting with Linux Mint and for MacOS users I recommend Pop OS! as it has more Mac feel out of the box.
Tips for Choosing a Distribution
- Windows Users: Start with Linux Mint for a familiar experience.
- MacOS Users: Try Pop OS for a sleek and modern interface.
- New Gaming Users: Bazzite gives an controlled environment with lots of gaming support by default. System shouldn't be
- Advanced Gaming Users: Nobara is made by Glorius Eggroll and is a gaming focused distribution with many tweaks and optimizations for gaming out of the box. It also allows for lots of system customization.
- Advanced Users: Explore Arch Linux or Fedora for more control and cutting-edge features.
Useful Links
- Linux Mint Official Site - https://linuxmint.com
- Pop OS Official Site - https://pop.system76.com
- Bazzite Official Site - https://bazzite.gg
- Nobara Official Site - https://nobaraproject.org
- Arch Linux Wiki - https://wiki.archlinux.org