Changed Location of yum check

Changed Location of yum check above the install command