Abstract Ubuntu dependencies into script