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

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    6 months ago

    MacOS is a BSD distro, which shares most of the same cli commands with Linux (though certain overall functionality may differ by command).

    I’d say stick to GNOME for desktop to start as it flows much more similarly to MacOS. I’d say Fedora 40 to avoid the current issues with Ubuntu 24 and derivatives. Should give you solid footing to figure out what you don’t like and adapt accordingly. Maybe even try out a handful of distros via LiveCD before committing, up to you.

    Re: Dual booting for gaming. Not even really necessary for 95% of all games now thanks to proton. The only hold outs are games with very aggressive anti-cheat installs that can’t operate outside of Windows.

  • aspitzer@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    6 months ago

    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@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      6 months ago

      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.

    • JustAPenguin@lemmy.worldOP
      link
      fedilink
      arrow-up
      7
      ·
      6 months ago

      I didn’t consider sideloading windows for gaming, but I do like that idea! That would allow me to avoid the need of wiping windows off my SSD. I can then just change up the partitioning.

  • lemmyreader@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    6 months ago

    After not touching my desktop for several months, I now see that I absolutely hate Windows even more.

    Welcome to the club :-)

    Currently, I’m a student in Mathematics and Computer Science.

    In that case I would certainly toy (but maybe not daily drive) with Nix or NixOS. Its concept is stunning. For daily driving Linux it depends on your hardware (x86 or arm). Debian is rock solid as daily driver on x86. If you need some newer software you can use Flatpak or the Nix package manager, or use distrobox or toolbox though beware of its drawbacks. Another good choice is Arch Linux. Since a while the install iso comes with an installer so that you no longer have to read documentation. The Arch Linux wiki is very often a superb source of information. But depending on your hardware there’s Asahi Linux : https://asahilinux.org

  • vipaal@aussie.zone
    link
    fedilink
    arrow-up
    8
    ·
    6 months ago

    If the MacBook is an Apple Silicon Mn processor one, Asahi is the obvious choice

    For other cases

    My first suggestion would be to try the distribution you used in WSL

    Second would be Linux Mint, can’t go wrong with either of Ubuntu edition or the Debian edition

    Third would be OpenSUSE Tumbleweed. Though a rolling distribution, with easy rollback commands, any unusable state can easily be left behind

  • bigmclargehuge@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

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

    • kbal@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

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

    • rotopenguin@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      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.

  • ⸻ Ban DHMO 🇦🇺 ⸻@aussie.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 months ago

    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

    • Laser@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 months ago

      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.

      • ⸻ Ban DHMO 🇦🇺 ⸻@aussie.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        I’ve never actually used NixOS (I did use Nix once to save my ass on Arch because of the aforementioned CUDA thing which I will not let go), but my reasoning for it not having as good QA as Fedora Atomic Desktops is the large number of possible configurations to test for, as well as testing GUI programs. But I understand the way the project is being developed and designed with things like flakes there is certainly potential for much more stringent QA, however, it still feels a bit like an “in development” thing that’s probably not at the stage where users can expect to use it without coming across things they can’t do etc. (Not that Silverblue doesn’t have that).

        So I agree it certainly has its uses.

  • Shareni@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    6 months ago

    It’s not clear what device you want to install Linux on.

    If it’s an apple arm you’re pretty much limited to what Asahi is doing (Fedora now afaik).

    If it’s a regular amd64, I’d suggest something more stable like MX, Mint, Suse leap, etc. You can use an alternative package manager to keep what you need fresh, but your base system won’t change for years.

    I’d maybe suggest starting first with nix and home-manager while you’re still on macos. Do note that I haven’t used it on mac, but the idea is for it to be cross platform. You can start adding your packages to the list, and have everything you need immediately when you start using Linux. That’s going to be your best option for programming, but it’s more difficult. This should help you out to get started

    As for gaming, I wouldn’t have high hopes on arm. You can use lutris to run windows games for example, but if your device also needs to emulate a different CPU architecture, it wont be happy. Docker had serious performance issues before they introduced arm base images.

  • 2xsaiko@discuss.tchncs.de
    link
    fedilink
    arrow-up
    6
    ·
    6 months ago

    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.

  • ShittyBeatlesFCPres@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    6 months ago

    I would say that you should check out Fedora as your first distro. Gnome is more like Mac than KDE (which is also great). Fedora is also built off Red Hat Enterprise Linux so it’ll will prepare you for server environments and your future career. You can learn bits of both at once.

    I think it benefited my career to go in that direction. I (like everyone) distro-hopped and went through a phase where I customized everything and installed a new distro every few months. But if you learn the ins and outs of Fedora you’ll be well-positioned to manage RHEL and related servers. Debian is also a good choice for that, at least in the U.S.

    And there’s nothing wrong with developing on a Mac while you use Linux for server stuff. Server level code will probably run on Linux but I found that using a Mac helped me when building front-end code because macOS devs tend to be design-forward. And don’t forget that you’re building something for other people. I barely use Windows but I try to revisit it every so often to see how the other half lives.

    • dallen@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      After getting used to the vanilla Gnome flow, at home and at work, even MacOS starts to feel a bit clunky.

      Love the minimalism of Gnome with the stability of Debian.

  • eight_byte@feddit.de
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    6 months ago

    The Mac hardware does limit the choice of distributions a bit. Besides that I can highly recommend Debian 12 as a rock solid base system with Nix as package manager to get latest and greatest software. Actually the nice thing is that you can use Nix package manager on any Linux distribution.

      • eight_byte@feddit.de
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        6 months ago

        I am not an Arch-user, but I would say so. At least Nix itself claims that their unstable channel is the largest and most up-to-date package repository currently followed by AUR. So yes, I think you can have best of both worlds - a rock solid base system with the newest software via Nix. It even gets better with Home Manager.

        • Shareni@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          6 months ago

          I’m running MX + nix unstable, and it’s pretty great. Although it’s got some annoying parts like nixGL, it’s nothing compared to simply updating your systyem and it failing to boot.

  • LeFantome@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    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.

  • gudu@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    6 months ago

    Running my nix config incl. dot files on multiple OS from wsl and Mac for shell env and paths specific coding envs via devenv to nixos on my workstation and server.

    I started with home manager on wsl till I got comfortable and switched to nix full time in the run. Was a chore at first. Now, i do not want any other environment for coding. It just works and can replicate and sync all working environments with ease!

      • Shareni@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        Tbh home-manager is going to be overkill in most scenarios. A dotfile directory + git is going to be more than enough, and you can use stow to symlink everything.

      • gudu@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        I guess there are multiple working and proven ways. The above is the one which worked for me as a full time Principle in a 10000+ “shop” over years now. Whatever will work for you will be your preffered way.

  • 737@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    6 months ago

    Arch, OpenSUSE TW, and Debian Sid are pretty good. As a desktop/WM I’d recommend Hyprland, Plasma, or DWL. Hyprland and DWL take some time to set up and get used to though. GNOME is sort of a pain in the ass, so I wouldn’t recommend it unless you use touch gestures a lot.