this post was submitted on 29 Dec 2023
276 points (99.3% liked)

Linux

48090 readers
792 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

To speed up working with slow hardware and for overall convenience, we’re now also offering binary packages for download and direct installation! For most architectures, this is limited to the core system and weekly updates - not so for amd64 and arm64 however. There we’ve got a stunning >20 GByte of packages on our mirrors, from LibreOffice to KDE Plasma and from Gnome to Docker. Gentoo stable, updated daily. Enjoy! And read on for more details!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 96 points 10 months ago (1 children)

Quite the statement that Gentoo has survived for so long compiling from source but, even with ever advancing processor speeds, they've finally gone "Nah... Takes to long. ".

I mean, I don't blame them. Yesterday I left my machine building a PyTorch package for 4 hours on a 12 core processor.

[–] [email protected] 56 points 10 months ago (6 children)

As a long-time Gentoo user the only packages where compile times (and RAM usage) really bother me are all the myriad of forks of that shitty Chrome browser engine (webkit-gtk, QtWebEngine, chromium,...) and LLVM and clang.

[–] [email protected] 22 points 10 months ago (1 children)

Chrome takes so much longer than the kernel somehow. There's also the occasional package that makes you build single-threaded because nobody has fixed some race condition in the build process.

[–] [email protected] 19 points 10 months ago (1 children)

More importantly Chrome takes so much longer than Firefox even though they essentially do the same things (or 95% the same things if you are nitpicky).

[–] [email protected] 4 points 10 months ago (1 children)

Yes, but Chromium is very easy to embed in applications. Mozilla has a history of creating and then abandoning embedding APIs every few years or so (and right now I think they have none).

[–] [email protected] 3 points 10 months ago

It seems very hard to embed it anywhere considering everyone doing so forks the whole codebase. Besides, my point was about compile times, embedding APIs shouldn't take significantly longer to compile.

[–] [email protected] 5 points 10 months ago

My beef tends to be with software out of FANGs. Big teams and huge codebase to match. Completely inpetetrable for the rest of us and, I suspect, far more code then there should be.

load more comments (4 replies)
[–] [email protected] 77 points 10 months ago (2 children)

To think the day Gentoo goes binary would finally come...

Next: Slackware get automatic dependency resolution

[–] [email protected] 24 points 10 months ago

I hate to be the one breaking the news, but...

[–] [email protected] 2 points 10 months ago

Well we've had binary packages for ages for big builds like firerox and default is still to use source packages.

Still I'm really excited for this, having the whole, or big parts of the package tree, will speed up initial installations by a lot on weak arm systems for example. Now initial installation can be done quick and later you could still compile stuff yourself for the full gentoo experience.

[–] [email protected] 27 points 10 months ago

Heretics! The true chosen use Exherbo!

(No, seriously, this is fine. And there's nothing keeping people from doing full source-based still.)

[–] [email protected] 25 points 10 months ago (1 children)

Gentoo "purist": "Welp, Gentoo is now officially dead."

Non-gentoo user: "Welp, Gentoo is now just another Arch fork LMAO!"

[–] [email protected] 32 points 10 months ago* (last edited 10 months ago)

Non-gentoo user: “Welp, Gentoo is now just another Arch fork LMAO!”

To be fair, you can still build packages and fine-tune the builds with the Emerge system flags, which is sort-of Gentoo's killer feature. It is just that they have recognized that most people will install probably 99% of all software without changing the default flags, and so why not give them those packages pre-built.

So I guess this make Gentoo more similar to Nix OS or Guix OS but without the high-tech package manager and dependency resolution.

[–] [email protected] 25 points 10 months ago* (last edited 10 months ago) (3 children)

literally 2 days ago i tried installing gentoo in a vm but gave up because it would take too long to compile... and now this??? guess my timing was pretty bad

if i did use gentoo, i'd probably compile smaller programs from source and bigger things like kernel and web browser i would use as binaries.

[–] [email protected] 10 points 10 months ago

I think this is the sign from the universe you've been waiting for!

[–] [email protected] 3 points 10 months ago (1 children)

Wouldn't the larger ones be the ones you'd get the most benefit from compiling?

[–] [email protected] 3 points 10 months ago

Not really I think optimizing it gives you small performance gains.

[–] [email protected] 2 points 10 months ago

Seems kinda pointless to compile most packages unless there are specific performance optimizations or non-default features that can be enabled. I think the way I would use this would be to do binary by default and build only on the occasional instance there is a tangible benefit.

[–] [email protected] 22 points 10 months ago (1 children)

I stopped using Gentoo because compiling everything was a major waste of time, but I have missed world files since then. This is a great reason to reconsider Gentoo for my next machine.

[–] [email protected] 2 points 10 months ago (4 children)

FWIW, Alpine Linux has a nice world file, too. And I am continually impressed by the selection of up to date packages in their Edge repos.

load more comments (4 replies)
[–] [email protected] 20 points 10 months ago (2 children)

But why? Isn't building from sources the whole point of Gentoo?

[–] [email protected] 15 points 10 months ago

For the ability to mix and match. Makes it easy for newcomers.

[–] [email protected] 14 points 10 months ago* (last edited 10 months ago) (1 children)

There are Gentoo distros that have binary packages, and Funtoo (a Gentoo-based distro that's 64-bit only) even suggests using Flatpak for certain software that needs 32-bit resources like Steam. Hell, you can install Flatpak on Gentoo if you want. Gentoo also provided binary packages in the past but only for a few packages (mainly web browsers, but annoyingly not qtwebengine. maybe that's changed here.)

Gentoo is more about having fine-grained control of your system than anything else nowadays. If that's what you want, go ahead! For most people, Arch or even something with less control like Ubuntu or Fedora will suffice.

load more comments (1 replies)
[–] [email protected] 14 points 10 months ago

I think it's a good move. It doesn't take anything away from people who want to keep compiling everything, but now people on especially old laptops can enjoy the distro too.

Though I will probably continue being a void user this makes me want to use gentoo more then it did before.

[–] [email protected] 12 points 10 months ago* (last edited 10 months ago)

Love this change. I wonder if I can install a binary-based Gentoo distro and gradually progress from there, if I wanted to, with locally compiled packages that partially replace the binaries. I hope this is not an all-or-nothing situation, so better read the announcement.

EDIT: Hey, yes we can!

[–] [email protected] 11 points 10 months ago (3 children)
[–] [email protected] 14 points 10 months ago (1 children)
[–] [email protected] 6 points 10 months ago
[–] [email protected] 4 points 10 months ago (2 children)

For the uninitiated, does "gen" imply source/compilation somehow?

[–] [email protected] 11 points 10 months ago

no, it's a penguin

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

No. But "bin" implies "binary" (already compiled).

load more comments (1 replies)
[–] [email protected] 8 points 10 months ago

Good for them

[–] [email protected] 8 points 10 months ago

I've been a Gentoo user since 2004 or so and used to crosscompile binaries in like 2006 for all of my systems including some sparc and ppc builds on my main servers. It was glorious. I adore Gentoo for portage and the ability to dream up a set of OS decisions and then actually do it, dog food and all. I'll probably never not have some form of a Gentoo system within reach but mostly for nostalgic reasons but VMs and containers now fill my needs.

[–] [email protected] 7 points 10 months ago

Been using Gentoo on my server for over a decade now and probably won't ever leave the compiling front, especially with a 12-core/24-thread CPU making it go as quick as regular binary updates on my mint laptop... But that being said, in happy to see them considering to do this. It'll bring in some folks who are afraid of (or just dislike) compiling everything from source. I think the biggest packages that'd benefit from this are definitely the browsers and desktop environments.

[–] [email protected] 6 points 10 months ago

that makes it usable! might give it a try.

[–] [email protected] 6 points 10 months ago (3 children)

Isn't the reason everyone says they use Gentoo is because of "all the optimisations" but if you're not compiling for your specific hardware doesn't that go out the window?

[–] [email protected] 20 points 10 months ago

If someone claims to do it for "all the optimizations", you can immediately assume they are full of shit. If anything, the true gain is the control over the features to compile or not compile into your packages.

[–] [email protected] 7 points 10 months ago (1 children)

I'm also wondering who this is actually for. There's no shortage of binary distributions, I thought Gentoo's whole use case was if you want to compile everything.

[–] [email protected] 11 points 10 months ago

I can see it working if one wants to customize the compilation flags of a few packages they have strong opinions on, but otherwise don't care about the rest of the system. Sort of like the binary cache in NixOS, where by default you use the binary cache, but you can customize parts of your system triggering a source-based installation for that parts.

[–] [email protected] 2 points 10 months ago

Not necessarily. You probably want to optimize the kernel and a few packages. Then there are some apps where you want to build them with specific features. Then there’s a bunch of stuff that takes forever to build where a binary would be convenient. Flags and optimizations aren’t that important for KDE frameworks or Firefox.

Offering binaries is a really nice middle ground. Gentoo makes it so easy to build custom packages from source but it’s always been all or nothing. I don’t want to wait 2-3 hours building updated libraries or Firefox every time there’s a patch.

Personally, I would be interested in a distro that had binary packages, easy builds like Gentoo and something like Arch’s AUR.

[–] [email protected] 6 points 10 months ago (1 children)

Hm? Didn't they already offer binary packages for a while now?

[–] [email protected] 3 points 10 months ago

The official binhost project has been an experimental thing until now, I've personally been using it for the year on multiple machines, but it's not been something that you can just enable. And it's definitely not been something that's come pre-prepared in the stage 3.

[–] [email protected] 5 points 10 months ago

Good, I might try it now.

When you have more life behind you than ahead of you, time suddenly becomes precious.

[–] [email protected] 5 points 10 months ago

Wow, when I went to bed yesterday it was only December 28, but now it is somehow already April 1!

[–] [email protected] 4 points 10 months ago

This is what Gentoo needed. I've been using it for a long time and love it as it is but sometimes when there's a bunch of slot conflicts or a compile error it makes me wish I just dealt with binaries instead. Now that we have the best of both worlds, it will make Gentoo appeal to a wider userbase and make it less painful to use on older hardware.

[–] [email protected] 3 points 10 months ago (1 children)

This might get me to switch to Gentoo. I just broke my Arch again, so this is the perfect time...

[–] [email protected] 2 points 10 months ago

If you like having more finetuned control, Gentoo is pretty neat.

[–] [email protected] 2 points 10 months ago

I'm enthralled by this. It really makes it easier to support other people's gentoo installations while allowing one to still optimise the ever last drop of life blood out of one's own packages! Love to see it!

load more comments
view more: next ›