Add sudo to yum commands to make them consistent

We specify it in some places but not others so we should
either put it everywhere or nowhere.