How do I install curl with http3 support

It seems like curl packed with ubuntu does not have http3 support. How do I enable http3 in curl?


Solution 1:

You will have to Build the experimental Version, It hasn't been released as a package.

 cd ..
 git clone https://github.com/curl/curl
 cd curl
 ./buildconf
 LDFLAGS="-Wl,-rpath,<somewhere1>/lib" ./configure --with-ssl=<somewhere1> --with-nghttp3=<somewhere2> --with-ngtcp2=<somewhere3>
 make