I’m trying to update to the latest version of LibCURL_jll, but I am having some problems making it work. This was originally to check if an issue I was encountering was a bug with curl, but it turns out it was with my code. Regardless, it would be good to better understand how to do this in the future.
My understanding is the following syntax should work to add a specific revision of a package:
add LibCURL_jll#0306c427c64d77bbfdbbba36eedd01363150d7ed
Where 0306c... is the commit hash for the build. I’m trying to get libCURL 8.16.0 LibCURL_jll build 8.16.0+0 · JuliaBinaryWrappers/LibCURL_jll.jl@0306c42 · GitHub
When I do that in a completely fresh environment with no other packages, I get this:
cvance@CarrollDesktop ~/Git % mkdir LCT
cvance@CarrollDesktop ~/Git % julia --project=LCT
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.12.1 (2025-10-17)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org release
|__/ |
(LCT) pkg> add LibCURL_jll#0306c42
Resolving package versions...
Updating `~/Git/LCT/Project.toml`
[deac9b47] + LibCURL_jll v8.11.1+1 `https://github.com/JuliaBinaryWrappers/LibCURL_jll.jl.git#0306c42`
Updating `~/Git/LCT/Manifest.toml`
[692b3bcd] + JLLWrappers v1.7.1
[21216c6a] + Preferences v1.5.0
[3161d3a3] + Zstd_jll v1.5.7+1
[56f22d72] + Artifacts v1.11.0
[ade2ca70] + Dates v1.11.0
[8f399da3] + Libdl v1.11.0
[de0858da] + Printf v1.11.0
[fa267f1f] + TOML v1.0.3
[4ec0a83e] + Unicode v1.11.0
[deac9b47] + LibCURL_jll v8.11.1+1 `https://github.com/JuliaBinaryWrappers/LibCURL_jll.jl.git#0306c42`
[29816b5a] + LibSSH2_jll v1.11.3+1
[458c3c95] + OpenSSL_jll v3.5.1+0
[83775a58] + Zlib_jll v1.3.1+2
[8e850ede] + nghttp2_jll v1.64.0+1
I also tried add LibCURL_jll@8.16.0 but LibCURL_jll v8.11.1+1 is still installed.
Any ideas where I could be going wrong?