Elektrine lite

← Feed

@starshipwinepineapple@programming.dev

Post #1110844

2026-04-08 11:51 UTC

(I can't see the edited out part but if it was about yay...) Yay builds in your local cache and then when it is ready to install it asks for sudo. The reason for this is because sudo can timeout during long builds, and more importantly if you compile with sudo you run the risk of arbitrary code execution. So it is safer to run with just `yay` and then it will ask for sudo when it actually needed.

Replies (2)

  • @Liketearsinrain@lemmy.ml 2026-04-09 12:25

    You risk arbitrary code execution without needing sudo too.

    Open ##1110851

  • @thingsiplay@lemmy.ml 2026-04-08 12:04

    No, that is not what it was about. I know, don't run `sudo yay`, but rather just `yay` and wait for password request. What it was is about a configuration to not ask password anymore, a passwordless package manger.

    Open ##1110852