this post was submitted on 22 Mar 2024
397 points (99.0% liked)

linuxmemes

21410 readers
2277 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 37 comments
    sorted by: hot top controversial new old
    [–] trigg@lemmy.world 75 points 8 months ago (5 children)

    Man updating packages by compiling them is so stupid

    Oh look 15 updated packages from AUR

    [–] funkajunk@lemm.ee 27 points 8 months ago

    I always go with the binary version if it's available in the AUR, ain't nobody got time for that.

    [–] devilish666@lemmy.world 10 points 8 months ago (1 children)

    Chaotic-aur gang has joined the chat......

    [–] kautau@lemmy.world 8 points 8 months ago (1 children)

    Oh you mean the [package]-git gang

    [–] SomeBoyo@feddit.de 2 points 8 months ago

    *-git is a good last resort, for when everything else is broken.

    [–] BCsven@lemmy.ca 5 points 8 months ago (3 children)

    I mean yes if time is an issue, but compiled code on your own hardware is specifically tuned to your machine, some people want that tiny tweak of performance and stability.

    [–] trigg@lemmy.world 12 points 8 months ago (1 children)

    The point being most AUR packages are compiled on each update

    [–] zueski@lemm.ee 3 points 8 months ago

    I use both for different purposes. Gentoo’s feature flags are the reason I wait for compiles, but only for computers a touch the keyboard with. Everything else gets Arch.

    [–] ad_on_is@lemmy.world 1 points 8 months ago (1 children)

    would you mind elaborating on the benefits? like what does one actually gain in a real-world scenario by having the software tuned to a specific machine?

    disk space aside, given the sheer amount of packages that come with a distro, are we talking about 30% less CPU and RAM usage (give or take), or is it more like squeezing out the last 5% of possible optimization?

    [–] BCsven@lemmy.ca 4 points 8 months ago

    Closer to thr 5% . Between the intermediate code and final code writing there is an optimization stage. The compiler can reduce redundant code and adjust based on machine. i.e. my understanding is an old 4700 can have different instruction sets available than the latest intel.gen chip features. Rather than compile for generic x86 the optimization phase can tailor to the machine's hardware. The benefits are like car tuning, at some point you only get marginal gains. But if squeezing out every drop of performance and reducing bytes is your thing then the wasted compiling time may not been seen as waste.

    [–] FiskFisk33@startrek.website 4 points 8 months ago (1 children)

    It's nice to have the option though!

    [–] OsrsNeedsF2P@lemmy.ml 4 points 8 months ago (1 children)

    That's why Gentoo now has binary repos!

    [–] FiskFisk33@startrek.website 0 points 8 months ago

    oh, i should check it out then!

    [–] MonkderZweite@feddit.ch 3 points 8 months ago (1 children)

    is so stupid

    Until you learn about compile flags. It's mostly about customizability.

    [–] trigg@lemmy.world 8 points 8 months ago

    Clearly I shouldn't have missed the /s

    [–] msage@programming.dev 24 points 8 months ago* (last edited 8 months ago) (4 children)

    Special Fuck You to:

    • clang
    • LibreOffice
    • Firefox
    • llvm

    I only use dwm, so no idea how long it takes to compile KDE or ~~Gentoo~~ Gnome.

    Everything else is so quick. Just those four take 20-30 minutes each.

    [–] porl@lemmy.world 24 points 8 months ago

    Before I had a proper internet connection (had to ask permission to borrow a dial up account) I bought a magazine that had a picture of a cow on it saying that Larry the cow was different. It was a DVD image of the stage one mirror of this new fangled Gentoo thing.

    Learnt from the magazine how to install a bootloader and so on and then "bravely" typed emerge world into the terminal after configuring the list of all the packages I wanted. Including a full desktop (KDE I think but may have been Gnome). And Firefox. And Open Office. And some multimedia stuff I don't remember.

    On a Pentium ii.

    Took a week before I could do the next step :D

    [–] librecat@lemmy.basedcount.com 6 points 8 months ago

    Might I add:

    • GCC
    • webkit-gtk
    [–] uis@lemm.ee 3 points 8 months ago

    You forgot rust

    [–] zolax@programming.dev 3 points 8 months ago
    [–] rottingleaf@lemmy.zip 19 points 8 months ago (2 children)

    12 hours, yes? My first Gentoo install took like 3 times that for all the things stupid me wanted to have.

    [–] jakobmn@feddit.dk 7 points 8 months ago (1 children)

    So I take it you did not install OpenOffice?

    [–] rottingleaf@lemmy.zip 2 points 8 months ago

    I think there were binary packages for it and Firefox, I wasn't completely unprepared.

    [–] fl42v@lemmy.ml 3 points 8 months ago (1 children)

    Relatable. Me: wants musl libc and to build stuff with clang (so that it's not gnu/gentoo). Firefox: doesn't want neither muls, nor clang due to some god knows how old bug.

    [–] rottingleaf@lemmy.zip 3 points 8 months ago

    Even under FreeBSD and OpenBSD they use GCC for things requiring it, which kinda highlights Gentoo philosophy's problem in this regard. Setting USE flags mostly globally seems like a cool idea, but when for customization it gets down to setting them for every package - one could as well use FreeBSD ports.

    [–] slazer2au@lemmy.world 12 points 8 months ago

    Assuming it actually compiled. Otherwise there are even more smug looks.

    [–] Pacmanlives@lemmy.world 10 points 8 months ago

    I am rolling a few Gentoo VM’s these days and it’s really not that bad to compile things these days and I am on an old ass (10 year) dual Xeon setup. I remember X taking a few days to a week to compile back in the 2000’s

    [–] MyNamesNotRobert@lemmynsfw.com 7 points 8 months ago* (last edited 8 months ago)

    Also how LFS users look down at Gentoo users after spending 6 years learning how to do everything themselves

    [–] ad_on_is@lemmy.world 4 points 8 months ago

    Oh man, just today I was messing around with flatpak, where I tried building webkit2, which took ages, or almost an hour (to be more specific).

    And I was thinking to myself if that's what Gentoo feels like.

    [–] pewgar_seemsimandroid@lemmy.blahaj.zone 2 points 8 months ago (1 children)
    [–] uis@lemm.ee 4 points 8 months ago

    Linux voided

    [–] cygon@lemmy.world 2 points 8 months ago

    I usually compile with --quiet-build=y, it doesn't have to be configures and makefiles blasting into a shell window the whole time. On the rare occasions where a build fails there's still the log in /var/tmp/portage/....

    [–] Peter_Arbeitslos@feddit.de 1 points 8 months ago

    I use Arch btw.