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
pacman
thing?? – lunix Dec 08 '22 at 13:56usermod
command as root. (Runsu
to become root) – P Varga Dec 08 '22 at 13:57su usermod -aG sudo jothamrizanth
but it is saying that-a
was 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