We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

Looking to build the latest cURL from the source?

Lately, I was testingHTTP/3using cURL with the default shipped version on CentOS, but that didnt work.

BTW, there are more you might do withcURL.

However, the latest cURL version (7.67) supports HTTP/3.

So, I had only one option build from the source.

This is just one example; you may have some other requirements.

The following example is for 7.67 (latest as I write) on CentOS 8.x and Ubuntu 20.x.

But the procedure remains the same for any other version.

Prerequisite

Lets get the required dependencies installed.

Verification

Use–versionto see the version details.

Conclusion

You see, its easy when you have the steps.

I hope this helps you install cURL from the source.