Issue
(new to Linux/Unix)
I have a build script trying to download a .tar.gz package, I get the following error
Protocol "https" not supported or disabled in libcurl
I saw that this error can be due to single quote instead of double quote on the https address, but in the script there seems to be double quotes.
I saw that this error can be due to missing the "right" ssh version of libcurl.
How to I check which version of libcurl I am using ? How do I change option to support https ?
Solution
You can check the version of curl by running:
curl --version
If curl is not working for you, you might want to try wget instead. Wget is commonly used for downloading files from web servers, and it has a similar feature set to curl.
wget https://example.com/example.tar.gz
Answered By - Peter Lilley