-
Hi everyone. Today i needed Homebrew to do some things, so i tried to install following the guides, also the one on the official site. I proceeded to use it and it gives me the same error every time: I tried to use I'm using Ubuntu 20.04 LTS as WSL Thanks in advance for the help. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
Do you have
|
Beta Was this translation helpful? Give feedback.
-
What's the output of |
Beta Was this translation helpful? Give feedback.
-
Although it was late, I believe this solution may help others in the future. Here are the steps I took to solve the problem: I created a new user by running the following command: I added the new user to the "sudo" group by running the following command: To check if the user was successfully added to the group, I ran the following command: I opened a new Ubuntu session to ensure that the changes took effect. Finally, I installed Homebrew following the official documentation. |
Beta Was this translation helpful? Give feedback.
-
"is extremely dangerous", wow.. let's run it on Ubuntu then where your default user has password-less sudo access on all commands.. genius. |
Beta Was this translation helpful? Give feedback.
What's the output of
id
?