How to Fix: sudo Command Not Found Error
The sudo command is an abbreviation of "superuser do", and it is a program which allows a user to execute a command with admin privileges. The sudo command helps you run programs/commands like an admin user.
Also, the user, who is running the command with sudo must be a part of the sudo group. The primary reason you get this error is that the package itself is not installed. However, most modern Linux distribution provides this by default, but some don't.