Lessons from the Local Group (and beyond) on dark matter