So you may have heard of the install gentoo meme, when I looked the guidebook I thought it looked a little complex like with Arch.

Does Gentoo have something special that other distros do not? Apparently you can use the USE FLAGS to determine what stuff you want and it’s meant to be even more lean on resources.

Isn’t there a Gentoo installer like with Arch? With Arch I can confidently just run the installer on a VM but I got stuck with Gentoo

  • biokernel@discuss.tchncs.de
    link
    fedilink
    arrow-up
    12
    ·
    2 months ago

    Does Gentoo have something special that other distros do not?

    Isn’t there a Gentoo installer like with Arch?

    Nope. That’s the “something special”. You do it manually with the help of a very well written handbook and learn a great deal about how an os works. IMO a great experience.

  • nyan@sh.itjust.works
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    2 months ago

    There’s an old joke from a couple of decades ago about what operating systems would be like if they were airlines:

    Linux Airlines

    Disgruntled employees of all the other OS airlines decide to start their own airline. They build the planes, ticket counters, and pave the runways themselves. They charge a small fee to cover the cost of printing the ticket, but you can also download and print the ticket yourself. When you board the plane, you are given a seat, four bolts, a wrench and a copy of the seat-HOWTO.html. Once settled, the fully adjustable seat is very comfortable, the plane leaves and arrives on time without a single problem, the in-flight meal is wonderful. You try to tell customers of the other airlines about the great trip, but all they can say is, “You had to do what with the seat?”

    Gentoo is still very much a “You had to do what with the seat?” distro, while most others have retired that concept to varying degrees, at the cost of the seats being less easy to perform unusual adjustments on.

  • Heavybell@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 months ago

    The point of use flags is to make it so if you don’t want to print, every package that would otherwise pull in CUPS as a dependency can be compiled without it. Stuff like that.

    Gentoo also has a good system for handling multiple concurrent installs of different versions of some packages, e.g python.

    If there’s software you want to install from source that uses automake it’s pretty simple to build your own package for it.

    Very much a system for doing things your way, and a good way to learn linux IMO. To that end, no there is no installer, but the process is not that complex. Boot a live USB, partition and format a drive, download and extract a base system, install a kernel (there is a fits-most-needs one available now), install a bootloader. Reboot into your new system and continue installing what you need from there.

  • kylian0087@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    Frankly i found the Gentoo handbook much easier to follow then the arch wiki at the time I tried both. Just compiling everything takes a while to do.

  • maniacalmanicmania@aussie.zone
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    You can get Gentoo up and running pretty quickly by following the handbook. From memory it’s easy to miss one or two clear instructions because the styling of the handbook can add more eye-catching weight to the explanation than the actual commands. So be sure to re-read areas where things don’t seem to working out.

    Gentoo also has a binary repo if you don’t plan to stray from whatever installation profile defaults you start off with.

    I can’t confirm a simple server install of Gentoo is somehow more lean than any other distribution.

    I’ve used gentoo-install with success previously although I don’t know how up to date it is.

  • m4m4m4m4@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    Apparently you can use the USE FLAGS to determine what stuff you want and it’s meant to be even more lean on resources.

    True and false; the “something special” in Gentoo is that you can tailor it to fit to your needs, and as far as I know no other distro comes even close - maybe the now almost defuct Funtoo. The “it’s more lean on resources” always seemed to me like a strawman people don’t like it came up with to diss on Gentoo.

    • Ghoelian@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      The “it’s more lean on resources” always seemed to me like a strawman people don’t like it came up with to diss on Gentoo.

      Wait but isn’t being more lean a good thing? Or am I misunderstanding how they’re using that word?

      • m4m4m4m4@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Of course it’s a good thing, but it’s not something Gentoo is particuarly goot at it (nor any distro, that is) but its detractors claim Gentoo says is “lean on resources” only to “debunk” that.

        And the myth that is “supercomplicated”, but in the end the only “difficult” part is to install it - in the daily, pedestrian usage it’s pretty much like any other (rolling release) distro. Well, of course except package installation/update times, but it’s beyond to me why people created that false urgency of needing to have everything installed and updated the second you issued the command. It’s not like you won’t be able to use your computer at all while Portage does its thing.

  • 0x0@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 months ago

    The installer is the handbook.

    USE flags are freakin’ awesome.

    It can let you install two different versions of a library.

    You can install the binary versions of some big packages like firefox.

    Edit: while USE flags are generic, you can also set specific per-package flags.

  • beliquititious@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    The theoretical benefits of Gentoo or Arch are completely negated by the fussy nature of those systems. You have more control, but to get it you have to do a lot more work. I’m not saying that’s a bad thing, just that’s the main difference between arch, gentoo, and a more streamlined distro.

    Really it depends on what you want out of your distro. If total control is what you’re after, then gentoo is only the beginning of a deep k hole that ends in LFS and a ricing habit. Personally I like using my computer as a tool to do other stuff so anything more hands on than debian stable just gets on my nerves or turns me into a ricing addict. But I had to install gentoo to figure that out.

    Gentoo is a filter. You either love it and continue diving or learn you want something else from your OS.

  • banazir@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    “Install Gentoo” is a meme, not life advice. With Gentoo, the installation process gives you good insight in to the internals of Linux systems and compiling (almost) everything from source is interesting, but won’t produce noticeable benefits for average users. Especially since updates take some time, what with compiling the programs again. Gentoo is a great distro with a fantastic package manager, but unless you’re an enthusiast or a serious hobbyist, Don’t Install Gentoo.

  • bigboismith@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    2 months ago

    Gentoo is basically arch but built around everything being compiled locally. There isn’t to my knowledge any “Gentoo-install”, but if you can manage to install arch manually it should be quite similar. Gentoo is a bit more complex than arch so if installing gentoo manually seems daunting I would recommend staying on arch.

  • LalSalaamComrade@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    3
    ·
    edit-2
    2 months ago

    If you want a “special” distro, use something like GoboLinux, NixOS, Guix, ClearLinux, SerpentOS, CachyOS or T2Linux. The rest of them are almost the same.

      • LalSalaamComrade@lemmy.ml
        link
        fedilink
        arrow-up
        0
        arrow-down
        5
        ·
        2 months ago

        Not falling for the debatebro bait. I’ve placed quotation marks around “special” for the same reason, stop putting your words in my mouth.

        • Fonzie!@ttrpg.network
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          2 months ago

          I did not mean it like that, at all.

          You leave a comment saying these are special and all the others are more or less the same, but don’t explain how that’s the case.

          I am genuinely asking.

          (also sorry for posting thrice, internet issues)

          • LalSalaamComrade@lemmy.ml
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            2 months ago

            Apologies for being defensive, I accept that I am in the wrong here - I had to assume the worst owning to the silent-toxicity through down-votes, because they’ve assumed internally that I’ve called their favorite distro just the “same” as the distro that they probably hate.

            A “traditional” Linux follows a FHS build, comes with a general package manager that is usually centralized, and can have one version of a program. You can only have one version of a particular program for the given OS version, and may have to use tools like venv or asdf to use older versions. Examples include Debian and Fedora, as well as it’s derivatives. These traditional distros come with profiles, or flavours, like KDE, GNOME, or some other desktop environment.

            GoboLinux is the original Linux OS that deviated from the FHS layout. With this, now you could have multiple versions of the same applications alongside, without having conflicts. ClearLinux (from Intel) and CachyOS (independent) are distros that build optimized binaries. I’ve not delved much into either of them, but I would like to think that having a tuned distro is quite nice.

            Henceforth here, most of the distros can be called as meta-distibutions. These are distros that are a little “flexible” when it comes to installing. There’s no pre-defined profiles and flavours, but this also means that you have control over what you can choose to install. Examples include Arch, Void, Gentoo and their derivatives.

            Of these, Gentoo (back then - this does not hold true today) and Void are special in the sense that they came with the most barebone stuff, and you had to use their tooling to build Linux, as well as the entire desktop and application from scratch. I am not sure who the target audience might be, but I’m assuming that most probably this includes people who don’t trust repositories or substitute servers.

            NixOS and Guix are functional, transactional and declarative distros that provides you with isolation via ephemeral shells - which can be either pure or impure, store-based file layout (hash, followed by package name and version) and the option to host containers and virtual machines within the OS as a neat in-built feature. Each time you “build”, you create your own distro generation, based on your own config, with the option to switch between them, without having to reboot. The store-based file layout was probably an inspiration from GoboLinux.

            SerpentOS is a new experimental OS in development - from what I know, these folks have embraced memory-safe languages for their tools. Another cool features is that the packaging it is quite nice and uses the well-known YAML format, as an alternative to Arch’s PKGBUILD or Fedora’s spec. There’s a lot of experimental stuff that I am not following, but it also shares some features with immutable distros. T2 SDE (not T2Linux, my bad) is another such meta-distro that I am aware of, but I haven’t delved into it. It is being developed by Rene Rebe. There’s also other cool distros, like for example Bedrock Linux, or Slackware, but I don’t follow them a lot, so I can’t speak for them.

            • Sbauer@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              edit-2
              2 months ago

              Nice overview, don’t want to contest anything you said, just add my 2 cents to it.

              The truth is the lines have gotten awfully blurry the past decade. It’s not just about FHS(basically a standard how the file system is laid out, where binaries go etc) getting more or less phased out(there are dozens of places where binaries can end up these days for example) but also some deeper changes of how we run software on these distributions.

              Frankly arch and cachyos(which is a arch variant, yes it has optimised packages, but so does opensuse, it’s just a decision to leave behind compatibility with older hardware, not some inherent magic) belong into the standard Linux distro bin for me, they do nothing special or noteworthy beyond being competently implemented. They are not really different from Debian, fedora or Ubuntu, you can install those just the same manual way you do arch. Yes arch is rolling and others are release based but opensuse shows how there isn’t that much difference between the models, they run both on the same package base, as did Debian with its sid repo since forever.

              Then we have gentoo and yes it is a bit special even today. The idea behind it is that you compile your own packages instead of using a binary repo. But why? The answer to that is that when you compile a package from source you have a vast influence on the resulting binary, for example by giving instruction to the compiler, that’s how cachyos gets its optimised binaries. But another even larger influence is by using configuration options built into the package by its developers. For example to disable or enable certain parts of the code. What gentoo did was collect and categorise the most common of these options into what became known as use flags, a system configuration that affects every single package built on that system. If you add the -dvd use flag it will strip dvd support from any package that has it. Or maybe you don’t have a printer -cups will remove cups support from all packages. This doesn’t just not install cups, it removes the very support of cups from packages that would otherwise interact/look for it in some way. This has obvious security advantages and is where the notion of gentoo being a lean system comes from, you’re stripping out entire functions of code from your binaries. If there is a bug in a certain OpenSSL mode that’s included in all binaries shipped by other distros, but you have deactivated all modes besides the one you intend to use, you are not affected by the bug. The idea behind gentoo is a kind of customisation that goes beyond the package layer, you’re no longer just choosing your individual packages but also the options of these packages.

              As for the others, immutable, declaratives, cow or a/b root distros… that’s where the lines are getting blurry. The declarative like Nixos are very different in their implementation, but then again, you can use the nix package manager on other distros and we have been using docker containers set up declaratively via compose files for years by now. Likewise the immutable seem very alien, until you realise that they are only divided from their normal counterparts by a very thin line, important yes, but thin nonetheless. There is a reason these new distros get spearheaded by the old guard, a fedora workstation distro is very similar to a fedora silverblue immutable and from opensuse tumbleweed it’s a very close step to opensuse microOS. It’s mostly different default packages and some config options with an added package or two. Sure they seem very different, but just because you bolt the hood of your car closed doesn’t fundamentally change it does it?

              These days I’d say gentoo is for learning. Not just about Linux but about interacting with source code and learning about the individual software you choose to install. The optimisations frankly matter less these days, sure you can optimise for speed or size of the binaries but are you going to be able to tell on that 12 core machine with 2 TB of nvme storage? No, not really. Security through a lean system might be nice, but there are specialised distros that already do so and you can run software in their own namespaces, control them via SElinux, put them in jails, bubblewrap them, containerise or VM them, hell even flatpak them, all probably more effective ways of archiving security.