major rewrite to use /apt/yum repos

bash install method currently untested