Manual build with an explicit `--disable-dict` perhaps? Because it's not Debian, Fedora, Homebrew, Nix, Alpine, Arch, or Gentoo, judging by their package definitions.
$>curl --version
curl 8.6.0 (x86_64-redhat-linux-gnu) libcurl/8.6.0 OpenSSL/3.2.2 zlib/1.3.1.zlib-ng libidn2/2.3.7 nghttp2/1.59.0
Release-Date: 2024-01-31
Protocols: file ftp ftps http https ipfs ipns
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz SPNEGO SSL threadsafe UnixSockets
I am not sure I I understand you correctly.
Should it work on Fedora?https://src.fedoraproject.org/rpms/curl/
Only the minimal build disables the dict protocol, maybe you have installed the curl-minimal package?
https://src.fedoraproject.org/rpms/curl/blob/rawhide/f/curl....
https://fedoraproject.org/wiki/Changes/CurlMinimal_as_Defaul...
Curl devs are predictably not too happy about this change.
https://daniel.haxx.se/blog/2022/03/16/fedora-and-curl-minim...