Live data from Hacker News

Ask HN: What is the best Linux distro for a development laptop?

news.ycombinator.com

71–80 of 329 posts

Re: Ask HN: What is the best Linux distro for a development laptop?

#71
I tried several and these were my experiences:

* Ubuntu. Works fine (I used kubuntu and xubuntu).

* Mint. Tried it and it seemed to work okay until I upgraded it one day and ran into issues that I think were related to the system having an identity crisis over who it really was (ubuntu or mint?).

* Fedora: had a few more driver issues than ubuntu but still worked okay for the most part.

* Debian: pain to set up and a lot of issues - there wasn't a bootable ISO I could find that would let me boot into a USB and test run the latest version with all of the (nonfree) drivers I needed.

* Arch: ran into more bugs than on ubuntu/fedora: the project maintainers don't do QA as effectively as ubuntu, debian and fedora. There seems to be a pervasive attitude that since its the distro where you get your hands dirty, that you should hand-fix a lot of bugs too. I tried manjaro as well because I wanted to try Arch and didn't want to configure every little thing until I saw this horrifying post and then ran far, far away: https://www.reddit.com/r/linux/comments/31yayt/manjaro_forgo...

* Gentoo: tried and failed to install firefox due to dependency issues and then gave up. Waste of time.

* Opensuse: tried and again got bogged down by the package manager crashing when trying to upgrade some pretty basic part of the system.

For me the decision comes down to comprehensive driver support out of the box and QA. Ubuntu still seems to be the best at those although Fedora isn't far behind. Arch has the most up to date packages which is nice but IMHO its instability caused me way too many headaches.

Re: Ask HN: What is the best Linux distro for a development laptop?

#72
I'm using Elementary, and I really like it so far. It's based on Ubuntu, and the standout things for me were:

1. Gets out of your way really fast - very little config and setup to do.

2. Clean UI - very macOS inspired, so they try and get rid of everything unnecessary. To the point where it doesn't feel like a normal Linux distro with knobs all over the place.

3. Excellent built in terminal - can't stress this enough - the built in Terminal on Ubuntu is very barebones - the Elementary terminal feels really polished and had everything I wanted coming over from macOS.

4. HiDpi support - you haven't mentioned what you monitor is, but Elementary handles retina and 4K displays well straight out of the box.

5. Ubuntu based, so pretty much everything that works there works here, apt is available for everything you need to install.

Re: Ask HN: What is the best Linux distro for a development laptop?

#73

I tried several and these were my experiences: * Ubuntu. Works fine (I used kubuntu and xubuntu). * Mint. Tried it and it seemed to work okay until I upgraded it one day and ran into issues that I think were related to the system having an identity crisis over who it really was (ubuntu or mint?). * Fedora: had a few more driver issues than ubuntu but still worked okay for the most part. * Debian: pain to set up and a…

What were your experiences Kubuntu and Xubuntu?

Re: Ask HN: What is the best Linux distro for a development laptop?

#75
post #47

I've recently started experimenting with NixOS on my secondary (testbed) laptop at home. (My main home laptop has Windows, while at work we use Ubuntu.) Based on that and posts on this thread, I'd say if you're willing to consider Arch, I'd seriously suggest it might be worth adding NixOS to your list too. In my experience, at some cost, it gives you one particular super -power, that I've never seen anywhere yet. Spe…

NixOS gets my vote too. I started on Gentoo back in 04, played with Arch for a year or so, then went to Nix a few years ago. I have never had so much love for an operating system.

The Nix language is cute, very powerful, and as you say, is capable of cool tricks. I personally find it very easy to read too.

For every project I work on, I define a .nix file describing its build environment. It is then just a matter of cloning the repo, typing nix-shell, and then all build dependencies will be downloaded and I'm ready to go. These nix files also specify which emacs I want to use and with which modes: I don't use Emacs' package manager.

I use nix-shell for pretty much everything. My basic environment contains only core utilities. I launch firefox with "nix-shell -p firefox --run firefox" (bound to a shortcut defined in my xmonad config).

Nix is easy to customize. The override infrastructure makes it easy to modify package definitions from your user config file, and I find I am much happier doing this in a programming language rather than a bespoke config file format.

Other pros: you don't need to be root to install stuff. And there isn't much more satisfying than getting a new laptop, git cloning the repo containing your intended system configuration, and being back up with your old OS with one or two commands.

As you say, if Arch turns you off, Nix may horrify. Despite the vote, I'm pretty discriminating about who I recommend it to.

Re: Ask HN: What is the best Linux distro for a development laptop?

#76
post #42

Arch, if you have the time to configure and tweak it. Otherwise, Fedora is quite good & stable with minimal tweaks (check out fedy [1]) [1] https://folkswithhats.org/

I use CentOS for servers so I always run Fedora, except every major upgrade since Fedora 19 broke my system, when this happened when upgrade from 24 to 25, I had enough of it! I switched to Arch and absolutely love it, AUR specially makes life sooo much easier.

So I vote for Arch.

Re: Ask HN: What is the best Linux distro for a development laptop?

#77
post #64

The best development OS is the production OS, so just use whatever you're going to deploy on. Ubuntu (Server) and RHEL and Centos are ubiquitous. I think the easiest to manage in prod is Ubuntu.

TBH I much prefer to keep that kind of stuff in a VM so I can tear down or rebuild them from scratch.

Of course, I still have Windows as my primary OS, if for no other reason than I'm too lazy to deal with the inevitable driver wrangling. (Caveat: PuTTY into an Arch VM is my dev environment.)

Re: Ask HN: What is the best Linux distro for a development laptop?

#78
post #39

Ubuntu, Arc and may be Fedora. No need to look past these 3 unless you feel a bit adventurous.

Yeah, I came here to say this. Ubuntu (esp LTS) if you want "mostly just works, I don't want to spend time maintaining/configuring it", Arch if you're more adventurous and nerdy. Fedora if you are a "just works" person but are doing it on a ThinkPad.

Fedora just works until you have to do a major upgrade. Every single major upgrade since 19 broke my system and I barely use anything "special", just i3wm, firefox, and gnome terminal is mostly what I use.

Arch gets my vote. :) Even though I run CentOS on servers and it requires a bit more mental shift when switching between than Fedora.

Re: Ask HN: What is the best Linux distro for a development laptop?

#79
Arch Linux

If you want a developer laptop you want modern hardware. If you want to run modern hardware you want a modern kernel.

In your case (since your hardware is a little old), you might not care about support from recent kernels but still want modern compilers, toolchains, etc available to you.

You also probably don't want it to break every 6 months when you have to system upgrade. Rolling release is the best.

Re: Ask HN: What is the best Linux distro for a development laptop?

#80
post #58

Earlier quoted context omitted.

Can you honestly say you remember the exact pacman syntax of how to perform a system upgrade or how to install a package? :-) For me the UX was a problem, even if technically the package management is good.

I just remember the commands I use most, namely: ´sudo pacman -Syy´ to update the package db ´sudo pacman -Suy´ to update all packages ´sudo pacman -S package´ to install/update a specific pakage ´sudo pacman -U package.pkg.tar.xz´ to install a package from a local file (useful if you're using makepkg) Those are usually enough to maintain my system. I'll have to hit the wiki for the various query options though. But…

And -Ss to search, -Rns for purge/uninstall.
Post reply on HN