this post was submitted on 27 Apr 2025
32 points (100.0% liked)
Arch Linux
8551 readers
8 users here now
The beloved lightweight distro
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In principle, yes, although the optional
base-devel
group depends onsudo
, as do hundreds of AUR packages, and yet other projects you install tend to just assume you have asudo
binary around. Removing sudo will not break your system, but lead to well-deserved anger towards people not declaring their dependencies. :)If you're ready to deal with the occasional application or script croaking, and subsequently fixing it, you should be fine removing sudo. I would personally consider building a dummy package replacing sudo, including a simple run0 wrapper at
/usr/bin/sudo
, to have a clean and transparent replacement.Any AUR package implicitly requires
base-devel
, so there's no requirement to list sudo explicitly.