I can do a manual update, but I'm not experienced enough to understand what that entails.
So, my request to the ZorinOS developers is: can you update curl to version 8.14, for better HTTP/2 support?
That script will download the source code for curl at version 8.14.1, compile it and install it in your computer. The entire process should take a few minutes, depending on your hardware.
When compiling a program from source, your package manager will not be aware of it, meaning that it will not check for updates for it. You will have to keep an eye on the releases page for curl every now and then and keep an eye for vulnerabilities that need patching, and update to a higher version if possible.
You can do this by repeating the same steps: download the source code for whatever version you're interested in, compile it, and then install it. You should remove your previous compiled version, as otherwise you might run into conflicts.
And on that note, keep in mind that by doing this you still have your curl package at version 8.5 installed, it just will have a lower preference and will (probably) not be used. Nothing inherently wrong with that, just something to be aware of.
I think you can probably even update that script and change all references from 8.14.1 to 8.16.0 and will work fine as well. I'm testing it right now, I'll let you know in a bit.
Thanks for the explanation! That is exactly what I meant with "don't know what it entails". Especially the part of manual updating and having the responsibility of maintaining a current version. Maybe I will do that. But hopefully, the Zorin developers can integrate this newer version soon.
Being curious and you knowing more about this than I do... if I were to manually upgrade curl to 8.14 and maintain this package, is there any chance it might break other applications / services on the system?
If so, would it be wise to use Timeshift to backup the system, in case something no longer works and I want to go back in time.
Regarding the latest version 8.16, the developer of the Onedrive client said to stick with 8.14, because he hasn't tested his app with curl 8.16 yet.
There's always a chance that this might happen, sure. Using something like Timeshift when making changes to system files is a very good idea.
When compiling a program from its source code, all the files produced are placed in a dedicated directory precisely to avoid messing with system files and creating conflicts. As much as possible, anyway, so this is a relatively safe thing to do; the main burden comes from taking responsibility for keeping this package up to date.
But yes, there's still a chance that some things might break. Any other app that you have installed that also relies on curl will use this new version, and if this new version just so happens to do certain things differently, then it might not work properly.
What this really means in practice is that you have to test and see if it works for you. I doubt that you'll have any issues though, since curl has a very strong commitment to preserve backwards compatibility. Worst case scenario, you can just remove the compiled files and that's it.