Score:0

Sudo not allowing me to install stuff

bh flag

So, I am using UBUNTU in a virtual machine. I tried this command in Xfce Terminal(I installed it) - sudo pacman -S make patch.But it is showing this after entering the correct psw - https://i.stack.imgur.com/GF0EB.png

Score:0
gb flag

You need to add yourself to the sudo group.

As root, run usermod -aG sudo jothamrizanth.

Also, pacman is Arch Linux's package manager. On Debian & Ubuntu, you can use apt install make patch to install make and patch.

lunix avatar
bh flag
https://i.stack.imgur.com/ia4nH.png - Getting an error.
lunix avatar
bh flag
Is it because I failed thrice to get access to do that `pacman` thing??
ᅙᄉᅙ avatar
gb flag
You need to run the `usermod` command as root. (Run `su` to become root)
lunix avatar
bh flag
how do i do it?? I dont know
lunix avatar
bh flag
Ok, I tried this, `su usermod -aG sudo jothamrizanth` but it is saying that `-a` was an invalid option
ᅙᄉᅙ avatar
gb flag
Run just `su`. This gives you a root shell. Then run `usermod -aG sudo ...` in that shell.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.