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
Asked
Active
Viewed 90 times
0
lunix
- 1
1 Answers
0
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.
P Varga
- 328
pacmanthing?? – lunix Dec 08 '22 at 13:56usermodcommand as root. (Runsuto become root) – P Varga Dec 08 '22 at 13:57su usermod -aG sudo jothamrizanthbut it is saying that-awas an invalid option – lunix Dec 08 '22 at 14:05su. This gives you a root shell. Then runusermod -aG sudo ...in that shell. – P Varga Dec 11 '22 at 14:01