4 ms·
hmmm $>curl dict://dict.org/d:Internet curl: (1) Protocol "dict" not supported
by mogoh 2y ago
hmmm
$>curl dict://dict.org/d:Internet
curl: (1) Protocol "dict" not supported
- fallingsquirrel 2y agoWorks for me. I bet your OS ships a crippled version of curl. $ curl --version curl 8.7.1 (x86_64-pc-linux-gnu) [...] $ curl dict://dict.org/d:Internet 220 dict.dict.org dictd 1.12.1/rf on Linux 4.19.0-10-amd64 <auth.mime> <370202891.28105.1727009645@dict.dict.org> 250 ok 150 1 definitions retrieved [...]
- soraminazuki 2y agoManual build with an explicit `--disable-dict` perhaps? Because it's not Debian, Fedora, Homebrew, Nix, Alpine, Arch, or Gentoo, judging by their package definitions.
- mogoh 2y agoI am on Fedora Silverblue $>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?
- SushiHippie 2y agoThe description on this page at least lists the dict protocol https://src.fedoraproject.org/rpms/curl/ 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.spec https://src.fedoraproject.org/rpms/curl/blob/rawhide/f/curl....
- soraminazuki 2y agoAh, it appears that curl-minimal became the default curl for Fedora recently. curl-full has to be installed for full functionality. I initially ignored it because I assumed the default was curl-full. https://fedoraproject.org/wiki/Changes/CurlMinimal_as_Default 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-minimal/ https://daniel.haxx.se/blog/2022/03/16/fedora-and-curl-minim...
- marxisttemp 2y agoYou mentioned Homebrew but missed the standard macOS package manager, MacPorts.
- kragen 2y agoworks for me too. but it takes about 6 seconds so curl dict://localhost/d:Internet is vastly preferable
- bloopernova 2y agoPossibly 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_Default 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