How To Fix Sudo Command Not Found In Debian After A New Install

After a new install of Debian, you may find that sudo won’t be available for updating and installing packages from the command line.
Besides that, in Debian, the user by default won’t have any sudo privileges either by to make any changes.
Here is how to fix it :
First, switch to root using su (using the root password that was set during installation process).
su root
Having root access,...