Ask HN: What is the best Linux distro for a development laptop?
161–170 of 329 posts
Re: Ask HN: What is the best Linux distro for a development laptop?
#162For example, I've recently started to play with Systemtap, and found it to be the perfect tool for some of my work.
But after some frustrating attempts to use it on Ubuntu 14.04 LTS, I discovered that it's broken and Canonical won't fix it. I tried to build my own, nonbroken version of Systemtap on this distro, but ran into nontrivial problems with library versions.
Even on Ubuntu 16.04 / 16.10, Ubuntu seems to build Perf Tools (which is part of the kernel's code base) without support for Python scripting. It was pretty easy for me to fix, but it did require downloading the kernel source, and rebuilding "perf". I don't know if they have a good reason for doing things this way, but it's irritating.
In contrast, Oracle Enterprise Linux has DTrace, which arguably is the (aging) gold standard for dynamic tracing on Linux. But OREL is a distro I never seriously considered using before needing this kind of tool.
* NOTE: I'm not trying to state which tracing / profiling tools work well on specific distros. I haven't done enough research for that. My point was only to bring attention to this category of feature.
Re: Ask HN: What is the best Linux distro for a development laptop?
#163I've recently moved to Manjaro (Arch) after trying to upgrade from Kubuntu 14.04 to Kubuntu 16.04 and finding out (you don't wanna know how much time I wasted) that Kubuntu is practically unsupported atm. So I tried Neon (the "new" Kubuntu) ... but they don't even have a working installer. I didn't want to go to Ubuntu directly for the obvious reasons. Now to me stability is everything. I have shit to do and don't ha…
I occasionally boot into Manjaro/XFCE, it's nice. But i find it a bit odd that you use the term "stability" in conjunction with any rolling distro.
PS Manjaro in my case has been installed not using GUI installer since I needed to go with a kind of complex LUKS/dm-crypt encrypting scenario and GUI doesn't support a complex configurations.
Re: Ask HN: What is the best Linux distro for a development laptop?
#164Hard to beat Ubuntu LTS. It has plenty of documentation and community support, has mostly up-to-date drivers and runs VirtualBox. LTS offers stability over several years. I use Xubuntu variant with i3. Moreover, I prefer to develop on the same OS I deploy to. ArchLinux: Great community but too many surprises when updating that sometimes break things or in one case left the OS unbootable. Fun to tinker with but if you…
Pros:
- It's stable
- Easy to replicate same environment on home/cloud machines
- Handles millions of request daily, just fine
- Almost all popular s/w packages are easily available
Cons:
- Some advanced manufacturer specific laptop features/drivers don't work out of the box
- No real complaints. I'm getting great value for no money.
Re: Ask HN: What is the best Linux distro for a development laptop?
#165I have had nothing but trouble with Debian and its derivatives on my machine. In a VM they're fine, but on bare hardware they are a pure nightmare of dysfunction. Fedora was the first linux OS I was able to get going on my PC out of the box.
Arch is good too - i hear a lot for that. I might look into that for a VM, but i'd lean more towards something like Fedora for the hardware, so you don't need to muck around to get the basics going.
YMMV though, hardware can make/break a distro.
Re: Ask HN: What is the best Linux distro for a development laptop?
#166ArchLinux is very decent distro. If you need something that you can tweak to be the continuation of your mind, environment designed exactly for you, it is Arch. If you have some time in the beginning to read archwiki, you will avoid a lot of problems in the future. After you understand how it works, it is easy to fix whatever breaks. For me Arch breaks extremely rarely. I use it for 7 years and remember no more than…
Also, you can try out the hot new stuff (e.g. Vulkan, or the recent stable Rust) without having to enable backports repos.
Edit: And you don't have to sacrifice stability. Arch is surprisingly stable. I run three servers on Arch without any issues.
Re: Ask HN: What is the best Linux distro for a development laptop?
#167ArchLinux is very decent distro. If you need something that you can tweak to be the continuation of your mind, environment designed exactly for you, it is Arch. If you have some time in the beginning to read archwiki, you will avoid a lot of problems in the future. After you understand how it works, it is easy to fix whatever breaks. For me Arch breaks extremely rarely. I use it for 7 years and remember no more than…
That said, if you're like me and prone to fits of 'mad science', you will find yourself breaking your OS from time to time. But I've yet to get myself into a situation I couldn't recover from, largely thanks the the excellent Arch wiki. The 'big jumps' (i.e. staged distro) leading to 'big breaks' can happen to Arch, mind you. It's not a distro you want to 'leave alone' for too long.
So I guess if you're going to use the machine daily, Arch should be fine. If we were talking about a server or something, or maybe a work laptop that would go unused for a few weeks from time to time, I'd probably suggest sticking with Ubuntu or the like. Trust me, I've attempted running Arch on my NAS and it was not very fun. Ubuntu/Debian is much better suited there.
I guess the other downside of Arch is that there's less official packaging for it (whereas there's an rpm and deb for everything, it seems). But I think the AUR more than makes up for that, and simplifies quite a lot of things that are complex to do on Ubuntu (e.g. compile FFmpeg with HW accel support, and with all the other fancy encoder dependencies etc.).
Re: Ask HN: What is the best Linux distro for a development laptop?
#168I personally am using elementary right now. It seems to take advantage of the macos/win10 exodus by offering the next closest experience. It takes the principles of user friendliness from Ubuntu and takes it a step further. As others have said here, it sets up quickly, has an awesome terminal, has a great default text editor, and looks sublime. It's great. It has the occasional bug but I still find myself using it. I really believe that elementary is the closest thing that there is to a universla, open source os that makes computing accessible to _everyone_. I have been doing a lot of rust stuff in visual studio code and everything works very well.
Re: Ask HN: What is the best Linux distro for a development laptop?
#169Earlier quoted context omitted.
>Debian: slow to upgrade and doesn't support newer hardware zzzzzzzz This is said so often it's not even fun anymore. Debian stable is made for servers, for stuff that's not going to move for ten years and is supposed to be up 99.9999% of the time. Run testing and your problems are solved. Recent hardware is supported, relatively recent versions of all software are in the repositories, depending on the maintainer. Or…
Agree it's made for servers. Great for older machines. Too often I've run into old libraries when I want to use a recent desktop app. I'm not knocking Debian but its kernel is older, dependencies are older. Great for stability. Ubuntu (based on Debian as you know) IMHO is a better laptop distro.
E.g. Debian stable comes with kernel 3.16, but 4.8 is available as an official backport, should you need the (almost) latest and greatest. Just add backports to sources.list && apt update && apt -t jessie-backports install linux-image-amd64.
Re: Ask HN: What is the best Linux distro for a development laptop?
#170Best giving them all a whirl and making up your own mind. A good starting point is The Live CD List[1] website. If you're switching from Windows to Linux for the first time, Linux Mint will certainly smooth the transition for you. Also for newbies, Ubuntu is a great first option. I usually test distros in a VM instead of installing them on bare metal. So far I have not found a distro specifically tailored to developm…