implementing for redhat and debian families