Skip Navigation

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 ❤ 🐧

39 comments
  • Debian might at least be worth a look. It's been around for ages and is incredibly stable. No, it's not bleeding edge, but there's always Debian Sid (unstable).

    • Use Trixie instead of Sid. With Sid you're getting new packages right as they come out of the oven. If Sid users don't get burned too badly, the packages go into Trixie two weeks later.

    • Even if you are going to do a little bleeding edge development Debian stable can be a good solid base to start from.

    • NixOS: (1, 2) - You can define specific package versions but with the large repos I doubt there is much QA going on

      It depends on the nixpkgs channel you use (I'm also using the term for flakes here, though technically these are then called inputs). The main channels, those being NixOS-stable whatever the current version is at the time and NixOS-unstable have a rather big set of packages that must be built successfully before users get updates, including the tests defined in the build system plus sometimes distribution-specific tests, though these are often rather simple, like start program and see if its port is open. Even more, when a library gets updated, all programs and other libraries depending on it get rebuilt as well, including all tests.

      Now what if a package outside of that scope breaks? Most likely, your new configuration won't build, so you're stuck on an older but working configuration, or it does build, but something doesn't work. But I'm the latter case, you can still choose to start the older working configuration.

      Also the more complicated packages have very dedicated and capable maintainers from my experience, sure the smaller stuff is often updated mostly automatically with merge request created by bots and just the final merge approved by the maintainer, but the big infrastructure is usually tested quite well.

      As a downside, this can sometimes lead to longer periods without updates when a lot of stuff has to get rebuilt and something doesn't work (multiple days, but not weeks). You can then switch to another set in case the problematic packages don't affect you, or just wait. However, saying there's little QA is unfair, in fact from my experience there's more QA in nixpkgs than in most distributions.

      I don't recommend NixOS to new users because it abstracts a lot of stuff away and makes use of mechanics that are helpful to understand first. But if you're comfortable with Linux, NixOS is a great distribution that even on unstable works very well. Then again, it allows specific packages to depend on very specific versions of other packages, which is partially the reason you'd use a stable distribution.

  • Take something with KDE Plasma. I have mine set up to work as close to Mac as possible (command key as the main modifier, all the Mac shortcuts for the window manager and KDE applications, top menu bar, dock, probably more). Took a bit to set up but now it doesn’t nearly throw me off as much anymore when switching between the two.

  • 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.

  • 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! ^^

  • For your desktop, I suggest you install Linux Mint (Edge edition, to make sure the newer kernel included there supports your hardware better). After installing it, right click on the panel, and install the 'Cinnamenu' applet (it's available for download from the window that opens when you click Applets). Then, place it where you want after enabling "panel editing", and then right click the new menu to customize it as you like. Cinnamenu is a more modern-looking menu than the default Mint, with larger icons. Please note that in June or July, there's going to be a brand new, major version of Mint. Think of Mint as how Windows should have been, a better version of it. This is my Linux Mint laptop: https://files.mastodon.social/media_attachments/files/112/253/256/932/509/491/original/6183bb790dcb8365.jpg

    Now, if you want something that is closer to MacOS' look and feel, then you would need to install Gnome, and use Gnome extensions to enable the dock to stick to the main desktop. For a Gnome distro, there's Fedora 40, the new Ubuntu, or Debian (IMHO, the most stable of the lot, but slightly older software version). This is my Gnome desktop: https://files.mastodon.social/media_attachments/files/112/349/393/342/603/119/original/3c3c5c7e35ac726e.png

    And if you have a large hard drive, feel free to install 3 of these (e.g. Mint, Debian or Ubuntu with Gnome, Fedora KDE), to test drive them all. They can all happily live next to each other in separate partitions. Just make sure you create a /boot partition (this holds the bootloader for all OSes), and then 3 large ones to put the / (root) partitions of each distro (these will hold the actual OS for each).

39 comments