I recently installed Arch Linux on my Raspberry Pi and, after logging in as root and creating myself a user account I tried to use the sudo command. This was the result:
[phillipus@alarmpi home]$ sudo mkdir Public
bash: sudo: command not found
After searching for the problem, I logged in as root
and executed pacman -S sudo
. This was followed by a long output and a confirmation of installation. Following this, I retried to use sudo
both as root
and as my user, both times getting the same response. Following another solution to the problem, I tried to add myself to /etc/sudoers
, only to find out that it didn't exist.
I am not very experienced with Linux, so could you please try to explain your responses fully?