logoalt Hacker News

lrvicktoday at 8:43 AM1 replyview on HN

You do not need sudo for installing software. Can just install to ~/.local.

Many package managers require sudo, sure, but there is no good reason for them to in a modern linux system, and not all require this.

Even with systemd, you can use systemd --user.


Replies

michaelmiortoday at 8:57 AM

That depends on what the software is. If you want to run a service that bonds to a privileged port for example, you need sudo.

show 3 replies