[PATCH 3/6] add debian and ubuntu support