Implement installing as a package repo for redhat

Implemented installing packages via yum instead of manual exec commands for redhat.

I did not do debian.