Rearrange install script to reduce yum churn.