changed yum -i to yum -y