Abstract Ubuntu dependencies into scripts