32
submitted 5 days ago by zippy@lemmy.zip to c/archlinux@lemmy.ml

You can use --sudoloop option with your normal update command and paru/yay will ensure the terminal session remains authenticated until the command has ended. For example:

paru -Syu --sudoloop

This way, after long builds, paru/yay won't have to wait for you to enter the sudo pass, or timeout and thus fail to install the built packages. This was something that really annoyed me as someone new to Linux/Arch.

top 10 comments
sorted by: hot top new old
[-] exu@feditown.com 11 points 5 days ago

You can also set the option in the config files

[-] CalcProgrammer1@lemmy.today 2 points 4 days ago

Nice, I need to edit those files then.

[-] CalcProgrammer1@lemmy.today 4 points 4 days ago

Nice, I need to remember this, the password prompt stalls my installs all the time.

[-] Veraxis@lemmy.world 4 points 5 days ago

I didn't know that. I will have to try that out. Thanks.

[-] lIlIllIlIIIllIlIlII@lemmy.zip 3 points 4 days ago

Do you know how to know what packages are those that last forever to compile?

[-] Veraxis@lemmy.world 1 points 13 hours ago

Often if there is a -bin version of a package, it is a precompiled binary and will not need to be compiled from scratch. As a general rule, the -bin version of the packages are usually preferred when available.

[-] lIlIllIlIIIllIlIlII@lemmy.zip 1 points 13 hours ago

Yes, Im aware. Thanks anyway.

[-] zippy@lemmy.zip 1 points 4 days ago

Uhh depends on your rig I guess. I build the various emulators from git and some of them like vita3k can take awhile.

But for me its more about being able to leave the update unattended, knowing that when I come back they will all be done and I can close the terminal window.

[-] Engywuck@lemmy.zip 3 points 5 days ago
[-] Dotcom@lemmy.ml 3 points 5 days ago
this post was submitted on 14 Jul 2026
32 points (100.0% liked)

Arch Linux

9862 readers
14 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS