Not all of these yum commands need sudo.