I tried to install sudo with apt install sudo but it won't work. I got these errors:
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?I am always required to give root access whenever i want to open some files in the terminal but i can't do that without sudo
61 Answer
Reboot, go to grub menu and select recovery boot.
Then select root console. Run there
mount -o remount,rw /
apt install sudo 3