The above question can also be rephrased to, what is the use of the sudo command?
man pages for sudo in the bash shell has the following description.
sudo, sudoedit - execute a command as another user.
This doesn't make any sense to me. Don't I have to be the root user to install from terminal? How does using sudo before the yum install command help?