Hacker News new | ask | show | jobs
by bloopernova 641 days ago
Possibly Fedora. I'm using Fedora 40 and its curl reports thus:

  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
And the dict protocol is indeed unsupported by system curl.

EDIT: https://fedoraproject.org/wiki/Changes/CurlMinimal_as_Defaul...

EDIT2: To change from libcurl-minimal to libcurl, run:

  dnf swap libcurl-minimal libcurl
  dnf swap curl-minimal curl
The second step there may not be needed, at least my system had curl paired with libcurl-minimal so your situation may not match mine.

EDIT3: This is the output of my curl now:

  curl 8.6.0 (x86_64-redhat-linux-gnu) libcurl/8.6.0 OpenSSL/3.2.2 zlib/1.3.1.zlib-ng brotli/1.1.0 libidn2/2.3.7 libpsl/0.21.5 libssh/0.10.6/openssl/zlib nghttp2/1.59.0 OpenLDAP/2.6.7
  Release-Date: 2024-01-31
  Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
  Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets