The Linux distribution you choose has a large impact on your Linux development experience. What’s a Linux distribution or distro for short? A distro is the OS. It’s the combination of a Linux kernel, package manager, and userland programs. You might think there are two or three Linux distros. As of today, DistroWatch shows there are over 20 different distros to choose from! Where do you start?
Selection Criteria
What makes a good developers distro? The five bullets below take a stab at answering that question:
- Includes the latest long term support (LTS) Linux kernel.
- Has a large and actively maintained package repository.
- Has active community forums. A good distro wiki is a plus.
- If the distro requires upgrades, a clear upgrade path is desirable.
- Stability.
While there are dozens of distros, many of them are passion projects maintained by a handful of people. The latter distros aren’t a great choice for development since their stability and the pace of package updates isn’t always the best. Further, a number of distros are special purpose. For example, RaspPiOS is a distro optimized for use with the Raspberry Pi hardware.
Putting the “hobby” and specialty purpose distros aside, you’re left with the mainstream contenders.
Picking a Distro
Below is a table of the most popular, mainstream Linux distros. Click the images to read more about them on DistroWatch.
Any of these distros meets the “dev distro” criteria. In fact, there are a number of other distros not listed here that fit the bill. Which distro do you choose? For the purpose of this series, it’s recommended you install Arch Linux.
Why Arch over the others? Arch is a rolling release distro meaning you don’t have to go through an upgrade cycle every couple of months. When you update Arch through the package manager, you have the latest version of Arch. Along with a large and up-to-date official package repository, Arch also provides access to a larger set of unofficial packages available through the Arch User Repository (AUR). Perhaps the biggest bonus you get with Arch is the documentation. The ArchWiki is the gold standard for documentation. Even if you choose another distro, you’ll likely find yourself referencing the ArchWiki.
There are plenty of cons to using Arch. Depending on who the end user is and what their goals are, the pros can often outweigh the cons. That’s the case when a Linux developer uses Arch. Immediate access to the latest tools is worth any friction that may arise through updates and configuration.
Installing Arch Linux
One downside to Arch is that installing it can be a pain. In the past, your only
option was to follow the ArchWiki’s installation guide step-by-step. These
days, the Arch ISO comes prepackaged with a archinstall
script that makes
installation much more user friendly.
The video below walks you through the process of installing Arch using the
archinstall
script. When you reach the section on desktop environment
selection at time mark 6:47, select the i3 desktop option. You’ll see how to
customize the desktop environment in the next series installment.
Closing Remarks
Don’t worry if you’re having a hard time with the new distro. It can be a shock transitioning from Windows/Mac to Linux or even from one Linux distro to another. Keep an open mind and give it some time.
At this point, you should have a complete Arch install on your PC. If you get stuck installing or configuring something on the system, make a habit out of consulting the ArchWiki and Arch User Forums. In the next article, you’ll explore the desktop environment, specifically the i3 window manager.