DEV Community

Cover image for Which Distribution of Linux Should I Use?
Jeremy Morgan for Pluralsight

Posted on • Edited on

Which Distribution of Linux Should I Use?

So... which version of Linux should I install on my brand new machine?
Click here to vote!

I'm often asked this question: "Hey, you're a Linux dude right? What Linux should I use? I have this friend who recommends (insert distro here) and I want to know what you think?" I usually reply with the same question: what do you want to do? So I decided to write this as a guide to what type of Linux you should choose.

My History with Linux

I should probably preface this article with a little bit of my history with Linux, in case you're reading this and you don't know me (very likely). You can skip this if you don't care.

Slackware Linux

I started out using Linux around 1996. My first Linux was Slackware 4, a set of CDs I purchased at Egghead Software (yep, I'm old). A friend of mine told me about this Unix like thing that was so great and I just had to try it and he thought I would love it.

I read a lot about Unix and was very curious about it. I had a shell account at my internet provider and I'd tinkered around, yet at first, I was a bit hesitant. "Why would I need this?" His reply was simply: "Because you hate Windows 95 so much and love DOS, you'll love this". So I bought it. He was right.

I took an old hard drive I had and installed it. I fought with it for hours, then days. I finally got a desktop up and running. I have no idea what drove me in this time, but I had to figure out how to make this system work, and it was difficult.

I had to know so much about my hardware! Simple things were suddenly hard again. But I pushed through, and I got my desktop up. And I started building some silly scripts for fun. The system was fast, and I could change nearly everything about it.

It had a built-in C compiler? I just bought some really expensive Borland package for this I could barely figure out. But this OS had a compiler built-in? A free Image editor? I was hooked!

Old picture of people using Unix

For years after that, I experimented with tons of Distributions. Even BSD Unix ones. My "main computer" was always a dual boot, and some of them were pure Linux. Most of the early 2000s, I avoided Windows completely. So by year, I can break it down to my "main machine", it would be:

  • 1996-1999: Slackware
  • 1999-2002: Redhat (and FreeBSD)
  • 2003-2005: FreeBSD / Knoppix
  • 2005-2009: Gentoo
  • 2009-2011: Linux Mint
  • 2011-2018: Arch Linux / Debian

I've used 50 or more distributions in my time, but this was what was running on my "main machine" I used for work, or browsing, or development or whatever. Obviously Arch had the longest run so far, mainly because I could just configure it and forget about it for long periods of time.

But the main distro for my "real work" the last few years has been Arch Linux.

Enough about me, let's talk about what you should use.

So What Do You Want to Do?

I'm going to put these in categories based on common needs. There is some overlap here, and with enough effort, any of these Linux distributions will work for your desired needs. One of the great things about Linux is you can make it whatever you want. But some distributions do a lot of that work for you or have a design that works better towards certain goals. I'll present these in categories based on the easiest path to reach your goals.


I'm a Linux Newbie Just Getting Started

Linux Mint

For a long time, I recommended Ubuntu for this. As far as ease of use and compatibility it was great. But I avoid Ubuntu now. I still use it for demos in my courses and articles because so many people use it, but I am not a fan of the way they run this distribution, the built-in Amazon adware, and Unity is annoying.

So if you're just starting out I recommend:

It's kind of a cheat because Linux Mint is built off Debian, but Mint looks prettier and has some nice cross-platform stuff.

Use these distributions if you want:

  • A Windows-like experience
  • Something simple to install
  • Something reliable
  • Something "Linux like" that doesn't deviate from the norm
  • Something that "just works"

Ok so that last one is really important. It just works. These distributions are mostly plug and play. Set them up, and forget about it. I have become increasingly reliant on Debian for my development machines because at times I don't care about the OS and I don't want it to get in my way. When I'm in a mood where I just want to build things, it can't be beat.

If you're just starting out, this course on Linux Installation and Initial Configuration may help you out a lot.


I Want to Learn More About Linux and My Hardware

Alt Text

Maybe you're in the mood to play and experiment. You want to challenge yourself and force yourself to learn by doing. That's great, it's exactly what I did.

If you want to challenge yourself and learn I recommend:

Each of these distributions requires a lot of configuration, hardware discovery, and compiling of source code. With Gentoo, you have to compile everything. It's a great way to have absolute full control over your operating system.

Use these distributions if you want:

  • Full control of your computer and OS
  • To learn about Linux internals
  • A lean and mean optimized system

This comes at a cost: mainly your time. A full install of these can take hours. On the plus side, they tend to run forever.

I had an Arch Install on a Lenovo that took the better part of a Saturday to configure, and let's say another 10 hours or more spread out after that. It ran nearly effortlessly for 5 years (until the laptop hardware died). I only had to do a few updates once in a while, but I used it reliably every day for 5. Long. Years. So in a way you can look at it as an investment.


I want Cutting Edge Stuff

Alt Text

Ok maybe you want the latest greatest software and you don't care how stable it is. You want to do some kernel hacking or some other cool thing that some coder committed yesterday.

To hell with stability and security you want the newest thing now.

Use these distributions if you want:

  • To trade risk for the newest stuff
  • The latest and greatest features always
  • Fun configuring things to work with breaking changes

To be fair I've personally used Arch and Gentoo without significant stability problems, but I was risking using the bleeding edge stuff on rolling releases.


I Just Want to Get Some Work Done

Alt Text

Ok maybe you don't really care about the OS particulars and just want to GSD (Get Stuff Done). Maybe you have some Node or GoLang apps you want to build and heard Linux is the best for it.

These are great for getting work done:

Use these distributions if you want:

  • Smooth operation with low maintenance
  • Minimal configuration
  • Things that just work mostly automatically
  • Compatibility with hardware and software

As I said I often use Debian these days as I'm usually just making something and don't really feel like tinkering around and optimizing. It's stable, fast, and stays out of my way. I'm writing this article in Debian 9 right now.


I Want to Set Up a Server

Alt Text

Maybe you want to set up a web server or virtual host and don't know what to use. The first one on this list is the dominant distribution for web hosting, so if you want something that mimics the site that's hosting your software try CentOS (or learn Docker!)

These are solid and reliable for web hosting:

Use these distributions if you want:

  • Stability
  • Security
  • Support from other people using it for the same reason

I believe any Linux distribution can be used for web hosting effectively, but some take more work than others.


I Want the Most Performance Possible

Clear Linux

So if you're one of those types who want to squeeze out every ounce of performance (I've been there) these are great for you. Some of these require compiling all the source code to produce binaries optimized for your processor(s). Fun stuff!

Use these distributions if you want:

  • Fast performance
  • High Load Computing

Keep in mind that hardware has reached a performance point where these don't matter quite as much as they used to. 15 years ago you could hack a kernel and dial in your services and see a big boost. These days, the difference is negligible. Any Linux will be pretty snappy.


I Want a Secure Desktop

Tails Linux

Maybe you want to set up a system that's hard to break into, for whatever reason. There are a couple of distributions with security as a top focus. If you're really concerned about locking down your main machine, these are great ones to look at.

Use these distributions if you want:

  • Security
  • Anonymity

I Want a Minimal Computer System

Alt Text

Ok, sometimes you just want something lean and mean that gets a certain job done. I definitely understand this. Maybe you have an old Pentium you want to re-purpose. Sometimes the OS is just a small part of your goal and you want the bare minimum.

Use these distributions if you want:

  • Something that will run on old hardware
  • Something minimal as possible

Conclusion

I hate to sound like a broken record, but you could just pick out one of these Linux distributions and make it whatever you want. That's the nature of Linux, its customizable to the furthest degree. But these are great distributions for getting started fast.

If you want to learn more about Linux, Pluralsight has a ton of Linux Courses including a really good one for starting out, Linux Installation and Initial Configuration

If you think I've missed the mark or left out a distribution feel free to leave me a message in the comments, or yell at me on Twitter.

And whatever you do, if you reached this page because you're curious about Linux, try it out!! Now! These days you can download something like VirtualBox (free of charge) and try it out before really committing to anything. It's definitely worth your time to check it out!

Latest comments (59)

Collapse
 
princessleia1 profile image
PrincessLeia1 • Edited

ParrotSec OS? :) But I'm now leaning towards looking at Pop

Collapse
 
nagytomka profile image
Tamás Nagy

Nobody mentions KDE Neon? :)

Collapse
 
strzibny profile image
Josef Strzibny • Edited

I would like to clear one thing.

Putting Fedora Rawhide among Arch or Tumbleweed makes little sense as the latest stable Fedora release would be a more likely choice. Both Arch and Tumbleweed are still officially stable whereas we never suggest that you actually download and run Rawhide.

Yes, you might need it for building future Fedora packages or testing compatibility, but actually running it is still risky (although I know a fellow Fedora developer who runs it on desktop). Fedora already moves based on 6-month cycles so it mostly has fresh software versions in it.

Collapse
 
chiefmikek profile image
GSMC Mike A. Kouklis USN-Retired

Maybe not a "use" or even a distro but how about a mention irt 🐧 Linux From Scratch! 👴

Collapse
 
jeremycmorgan profile image
Jeremy Morgan Pluralsight

Yeah I probably should have mentioned that. I may add it to my article. I did an LFS install a long time ago. It was fun and pretty educational. That's even more hand-rolled than Gentoo!

Collapse
 
dana94 profile image
Dana Ottaviani • Edited

Good information. I just started looking into Linux after watching one of Chris's videos and researching distros. I even learned how to install Lubuntu and Linux Mint through a USB! Currently, my old laptop has them both installed. I'm really just playing around to get the feel of it.

There's a lot of good documentation out there.

Collapse
 
maxdevjs profile image
maxdevjs • Edited

Great suggestions. I'd add Void and QubeOS as pointed out in other comments, but also NixOS.

Collapse
 
aensley profile image
Andrew Ensley

Ubuntu hasn't had Unity for over a year.

arstechnica.com/information-techno...

Collapse
 
bokiperic profile image
Bojan Peric

Great article, tnx! :)

I like Kali Linux, too. It's very good for Penetration Testing and installation and setup are pretty straight-forward :)

Collapse
 
_t0p1 profile image
TOP1.0

The last time I give up to use Linux because it hard to install the usb network driver. In windows you just doing a single click only. But in Linux I dont know it is too hard. As you said Linux Mint is good like Windows. Perhaps I can try it ?? The Linux that I used last time is Parrot Linux.

Collapse
 
jankapunkt profile image
Jan Küster 🔥

I made very good experiences with Xubuntu (= Ubuntu using XFCE) and I use it since 14.10 (=2014) as my main desktop os for work and at home.

The XFCE desktop is clean, simple and configurable and integrates flawlessly with the Ubuntu environment.

I never had any dist-upgrade related issues and all my devtools run fine.