Skip to content

Can't install Homebrew on linux #5601

Answered by carlocab
MatteoGauthier asked this question in Linux
Discussion options

You must be logged in to vote

Is there a way to maybe create an user non-root just for this installation ?

Yes, probably better to create a linuxbrew user with something like

sudo useradd --user-group --create-home linuxbrew

and then run the install script as said linuxbrew user. You may want to give the linuxbrew password-less sudo access with something like

sudo tee /etc/sudoers.d/linuxbrew <<<"linuxbrew ALL=(ALL) NOPASSWD:ALL"

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MatteoGauthier
Comment options

@carlocab
Comment options

Answer selected by MatteoGauthier
@MatteoGauthier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
3 participants