pub const NEED_CURL: &str = r"command -v curl >/dev/null || { if command -v apt-get >/dev/null; then apt-get update; apt-get install -y curl ca-certificates; else dnf install -y curl ca-certificates; fi; }";Expand description
curl, installed first where a bare system has none (Debian’s minimal image): every vendor install downloads with it, and without it the repository checks read as “no packages”. Through apt where it is, else dnf (Fedora and the distributions built on it).