Get apt with curl