Splits pkg-list into apt and yum versions
Update for redhat distros