It’s not really a big deal, but I am currently writing this using a linux kernel I compiled from source, which certainly feels like an accomplishment. The Arch Wiki has made the process fairly easy to follow. I just took the stock Arch Linux configuration without changes for now.

The most important part of this is of course that I have the option to do that, to take the source code of this incredible project and build my own kernel binary.

  • Bel - [Space] Lion
    link
    fedilink
    English
    501 year ago

    That we can make software unique to our needs is one of these best parts of software freedom. Good for you!

  • melroy
    link
    fedilink
    271 year ago

    Maybe it’s not a big deal… But I still remember the first time I compiled the Linux kernel. It feels good. Well done!!

  • @[email protected]
    link
    fedilink
    English
    211 year ago

    This is the best part of free/libre/open-source software. Even if you would never want or need to compile software yourself, the fact that you have the option to do so, and the opportunity to learn how the software works, is what makes FLOSS superior to proprietary software IMO.

    I just compiled Handbrake from source a few minutes ago, and I know how you feel. Best of luck in your future code-compiling endeavors.

    • @[email protected]OP
      link
      fedilink
      English
      271 year ago

      I didn’t really keep track, but I would estimate around 10-15 minutes on a Ryzen 5800X.

      • @shadesdk
        link
        English
        261 year ago

        I compiled my first Linux kernel back in the mid 90s, mostly on 386 and Dec Alpha hardware, interesting enough both were not that much slower than what you mentioned, I think the alpha (a measly 21066) took about 40 minutes. If you had asked me back then, I’d probably have imagined a minute or two, 30 years later. Guess it says something about how much larger the Linux kernel has become.

        • @[email protected]
          link
          fedilink
          English
          71 year ago

          That just brings me back to starting the compile, getting something to eat, doing chores, and whatever else. Then when it was finally done, booting it up only for it to not boot because I forgot some checkbox. Repeat a couple of times. Nights getting the thing working. And then on the next kernel release, trying to make sure I remembered all the checks because it didn’t let you export the current config back then.

      • db2
        link
        fedilink
        English
        51 year ago

        Last time I compiled a kernel it was on a bus-overclocked K6-3/500 (higher bus, lower multiplier).

    • kopper [they/them]
      link
      fedilink
      English
      61 year ago

      not OP but on my i7 7700K a fully-featured kernel takes about 2 hours or so to compile. if i minimize the kernel to only the modules i need i can get it down to 20-30 minutes (clean). incremental compiles barely hit 5-10 mins

      overall not a big deal, especially compared to something like firefox (or god forbid chromium). or gcc with pgo (which is technically cheating because it compiles itself 3 times if you enable pgo)

  • FartsWithAnAccent
    link
    English
    14
    edit-2
    1 year ago

    Congratulations on being awesome. Keep that shit up.

  • @[email protected]
    link
    fedilink
    English
    71 year ago

    It’s not the compiling that kernel is hard - ironically, it’s one of the easiest things in the whole ecosystem to compile, got great tooling. It’s breaking down the mental barrier of something that you thought would be hard, but turns out to be completely within your grasp. Great work, keep it up, and never be afraid to keep pushing onwards.

    • @[email protected]OP
      link
      fedilink
      English
      21 year ago

      Yes, that was my experience as well. And of course there is the added tension that if you mess up somehow your system might become unbootable.

  • @GenBlob
    link
    English
    61 year ago

    Nice! After the first time you get the hang of it but keep in mind, If you do make your own config you will have to recompile your kernel for any hardware that isn’t automatically enabled in the config like graphics, touchpad, tablets, and other peripherals you will plug into your computer. Reading up on what hardware you have helps a lot but I still manage to forget something when I have to create my own config. Thankfully you can just transfer your config to the next kernel instead of creating it all over again.

  • fmstrat
    link
    fedilink
    English
    61 year ago

    Congrats! Keep this kind of mindset if you can, even later in life. It will continue to take you farther in life than you would imagine.

  • @[email protected]
    link
    fedilink
    English
    51 year ago

    Nice! I also compiled the kernel multiple times when I used Gentoo back in mid 00’s. It may not be a big deal as such, but I feel kind of good being able to say I’ve done it.

    Next challenge: write your own kernel.

    • @[email protected]
      link
      fedilink
      English
      21 year ago

      I installed gentoo from stage 1 or maybe 2 back in the day… it compiles to compiler to compile the rest of the build process and then compiles the kernel and base… quite fascinating but it took about 3 hours on the hardware I was using.

  • @[email protected]
    link
    fedilink
    English
    3
    edit-2
    1 year ago

    Surely this is a feat of engineering on Arch. But in NixOS, this is just Monday. 😉

  • WasPentalive
    link
    fedilink
    English
    21 year ago

    A feat I have yet to achieve, and I have been using Linux since Yiggdrasil.