this post was submitted on 05 Apr 2025
442 points (95.5% liked)

linuxmemes

24275 readers
1624 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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 remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] RustyNova@lemmy.world 5 points 1 day ago (1 children)
    [–] rtxn@lemmy.world 24 points 1 day ago (2 children)

    yay, a utility to access the AUR, where users share build scripts instead of binaries. It's just one step above curl | sudo sh in terms of security.

    [–] 30p87@feddit.org 7 points 1 day ago (1 children)

    Except it automates the steps you'd have to take to inspect and edit the script, if needed. Also, PKGBUILDs are much nicer to read than just plain install scripts. And, of course, it actually builds a package, which is then installed, so it's not only tracked but can be updated like the rest of the system.

    [–] copygirl@lemmy.blahaj.zone 6 points 1 day ago (1 children)

    To be fair, that's why they said

    in terms of security.

    [–] 30p87@feddit.org 2 points 1 day ago (2 children)

    I'd say that yay encourages checking the PKGBUILD or its diff more than the average "curl xy | sudo sh" instruction, but considering most people see yay just as yet another package manager, instead of an AUR helper, that's probably true for most people

    [–] rtxn@lemmy.world 2 points 3 hours ago

    That's why it's one step above. The user is given an option to read the PKGBUILD (or a diff with the cached copy if it exists), but beyond that, it's still unverified arbitrary code from an external source (the project's actual source, binaries, or packages from another repository). Packages in the official Arch repos are verified by the downstream packagers. For AUR packages, it's up to the community to moderate itself, and the user to determine whether the package is trustworthy, and I'm willing to bet that not many people do it. I certainly don't vet everything I install.

    That's probably the "just one step above" part. You do have the option to inspect the script you're executing before you do so with curl | sh too, if you know what you're doing. If you don't, then you'd be pretty likely to just skip the prompt from yay as well. (Automatic diffs are nice tho.) Note: I use paru instead so I don't know what yay does.

    [–] Flipper@feddit.org 3 points 1 day ago

    I don't think the aur can switch the delivered script whether you are piping it into sh or not.