diff --git a/install.sh b/install.sh
index c5beda40fcada53d75c28aa79a08b39f846d13c2..9b58901e9513b96b55aab683e99603d350584f98 100755
--- a/install.sh
+++ b/install.sh
@@ -13,8 +13,8 @@
 # As root:
 yum check-update -y
 yum install -y epel-release  # enables 'enterprise' software repo
-yum install yum-plugin-replace
 rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
+yum install yum-plugin-replace
 yum update -y 
 
 # Install needed tools