Moving to a Linux distro for dev

I'm a long time Windows user who has experience with WSL. Last year, I needed a laptop for university, and out of laziness, opted for a Macbook since, although they're expensive as hell, are reasonably reliable.

Since using the mac, I've absolutely fallen in love with it over Windows. Note that I refer to the non-iOS specific aspects. After not touching my desktop for several months, I now see that I absolutely hate Windows even more. I would like to move my desktop to a Linux system some time in the future. However, my education is limited, and so I'm here to ask for help.

Currently, I'm a student in Mathematics and Computer Science. But outside that, I am, for the most part, a programmer. I rarely game, but I would like the option for the rare occasion that I have the time to do so.

I've grown comfortably with the command line, through my in-depth knowledge of lower level knowledge is limited. So, I feel I'm comfortable enough to extend the possible domain of my options.

I would love to hear recommendations and suggestions. I'm also open to other options such as NixOS, but that would require some research to learn more, which is fine. I'm not doing this soon.

If you could provide any links and resources that I can follow to continue learning, especially if relevant to your suggestions, I would be deeply appreciative!

My Mac is the most Linux-like thing I've used for so long, and it's been so, so much easier to work with compared to Windows (I hate Windows PATH limitations so much).

Thanks, all ❤ 🐧

some_guy ,

My driver is MacOS but I use Linux for things like servers and hobby projects, so I check these threads just to keep up on what's happening in the space. I think people often recommend Mint for people who like MacOS, but I'm sure someone will correct me if I got that wrong.

Welcome to the club. It's pretty great.

Nisaea ,
@Nisaea@lemmy.sdf.org avatar

The website https://linuxjourney.com/ is often recommended to new Linux users, for good reasons. Since you're already experienced in CS and WSL you'll find a lot of things you already know, but there's always things to learn for everyone in there. Cheers! ^^

unionagainstdhmo ,
@unionagainstdhmo@aussie.zone avatar

There's a lot of people here promoting whatever crazy niche distro they use and I'd caution against some of the options presented here. I'd recommend the following criteria when choosing a distro for development (depends on the development but I'll assume since you're study computer science something like Python, C/C++ where distro packages are important):

  1. Up-to-date packages: You don't want to come across some bug in a library that was fixed 2 years ago or miss out on the latest features or standards
  2. Stability: You likely don't want to rewrite your code to account for a major library update immediately because otherwise your code won't run - it also makes it easier to share with other people as you can target a specific OS
  3. QA: Possibly having maintainers that keep an eye on bugs and packaging mismatches to create a coherent system is one of the greatest features of the Linux desktop. For example I had an Arch update stuff me around for an update where the maintainer of the CUDA toolkit package did a major upgrade without any coordination with the maintainer of the proprietary nvidia driver package, making CUDA unusable.

Here's a quick list of how distros fit these criteria:

  • Arch: (1)
  • Debian 12: (2, 3)
  • Linux Mint: (2, 3)
  • Ubuntu LTS: (2, 3)
  • Ubuntu 24.04: (2, 3) - Some packages weren't updated to their latest versions like KDE Plasma
  • Fedora Workstation 40: (1, 2, 3)
  • Fedora Silverblue 40: (1, 2, 3+) - My personal choice however, it's a bit different from normal distros, see below
  • NixOS: (1, 2) - You can define specific package versions but with the large repos I doubt there is much QA going on
  • Debian Sid: (1) - This is the development branch of Debian
  • OpenSUSE Tumbleweed: (1, 2, 3+) - Very advanced automated testing
  • Void Linux: (1, 2, 3-) - Claim to be stable rolling release, updates come slowly after some testing

Note on atomic distros and toolboxes/distroboxes:

  • I personally use Fedora Silverblue with a few distroboxes (basically docker containers you can interact with) for development (Fedora) and Steam (bazzite-arch-gnome).
  • With an Atomic distro the root filesystem is not mutable - you don't generally install packages there but setup an aforementioned container and install you're environment in there.
  • toolboxes and distroboxes are usable on any distro so your desktop environment and any applications like Steam, Firefox, etc. are able to be updated to a different cycle/philosophy to your development tools.
  • The main advantages of an atomic distro are:
    • Fast updates that you download while the system is running and on next boot you will immediately be in the updated environment (no need to wait for updates to apply);
    • Everyone runs the same configuration (or very close to) which is why I gave Fedora Silverblue a + in the QA category. This means you are less likely to come across rare configuration issues which are difficult to test (i.e. there is less entropy in the system)
  • The main drawbacks however:
    • It's a relatively new paradigm on the Linux desktop (despite being basically what Android does) so there's not as many people using Fedora Silverblue as Fedora Workstation.

Desktop environments:

  • On MacOS and Windows you only get one choice as to how the desktop looks and feels, here we have a few choices:
    • GNOME - the most popular choice and is the default for most major distros, with strong backing from major players like Red Hat. It implements a completely new way to interact with your computer borrowing behaviour from both Windows and MacOS. While not terribly customisable (at least not through settings, extensions can do pretty much anything), it's generally not necessary if you just want to focus and get stuff done
    • KDE Plasma: probably the second most popular choice, while not the default for the major distros there are versions like Kubuntu (Ubuntu), Fedora KDE Spin (Fedora Workstation) and Fedora Kinoite (Fedora Silverblue) which implement it. By default Plasma has a Windows like behaviour however it is customisable to behave pretty much however you see fit.
    • Cinnamon: Not as popular - used by Linux Mint to provide a familiar experience to migrating Windows users.
    • XFCE: Also not as popular but is a good lightweight option
    • Tiling Window managers - not a full dekstop environment like you would expect from the other options but provide a unique keyboard-based workflow making use of virtual desktops/workspaces and window tiling rather than floating windows.

I hope this comment is helpful for you, and the choices are really overwhelming - but worth it, and I'd recommend playing around with whatever you've got time to do to find what works best for you. If you're planning on running on an Apple Silicon based device most of these distro options are unavailable, I'd recommend looking into Asahi Linux based distros - don't use Manjaro as they aren't endorsed by the Asahi project

LeFantome ,

It matters a lot if it is Apple silicon or Intel. If Apple, you want Asahi Linux for sure.

On Intel, you have a tonne of options. Pick the desktop environment you like and pick the distro after that. GNOME, KDE, and Cinnamon are your realistic DE choices.

COSMIC is looking really great but it is not quite ready.

I would personally stay away from both Ubuntu and Manjaro but most other choices are fine based on your preferences. Linux Mint is probably the best choice if you like Cinnamon.

I like EndeavourOS myself.

aspitzer Bot ,

dont start with nixos. it is not friendly. Ubuntu is probably the best/easiest starter distro. that or fedora. go with the most mainstream so you have the least friction. Later you will be trying all the distros for fun.

InternetCitizen2 ,

I was a physics student and going to have to say Ubuntu as well. I think looking at Mint and Pop are also nice picks. Besides Ubuntu being pretty good OOTB most online resources use it as an example; that is very valuable when still astudentt.

azvasKvklenko ,

If you want to learn Linux, Arch is the perfect balance between ease of use and DIY aspects. It now comes with an installer, but installing it manually will teach you the basics of how Linux systems are built and configured. It also comes with amazing documentation that makes it relatively easy to setup and once you do that, it doesn’t require much tinkering or changing stuff in order to use it.

Nix is pretty hardcore as for a new user. If you’re ready to learn entire functional language to manage it effectively then go for it, but I’d recommend something more traditional for first steps.

If you want to game casually, well in this day and age gaming on Linux is pretty good with most games running just fine. There’s problem with some popular online multiplayer games due to anti-cheat systems, but other than that mostly everything runs well with Proton or Wine.

Keep in mind that MacOS is also different than Linux despite also being UNIX-like. On Mac it’s all controlled by Apple, so things generally play nicely together due to tight integration and centralized development. On Linux many components are independent pieces of software that also quite often have replacements and you get different combinations of those depending on which distro you pick. Don’t worry, it’s also standardized to some extent, and while it’s not necessarily straightforward, once you feel comfortable (and you don’t face any issue with drivers/hw support), it’s really nice to use.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • linux@lemmy.ml
  • test
  • worldmews
  • mews
  • All magazines