Questions tagged [curl]

curl is a command-line tool for transferring data using various protocols.

curl is a computer software project providing a library and command-line tool for transferring data using various protocols.

The curl project produces two products, libcurl and curl. It was first released in 1997.

Website: http://curl.haxx.se/

398 questions
83
votes
1 answer

Installing curl.h library

Could you help me install curl.h library?
neilmarion
81
votes
2 answers

The program 'curl' is currently not installed

I am trying out Meteor http://meteor.com/examples/leaderboard I have to use CURL, which I am familiar with on Windows. Now I try to install it on Ubuntu 12.04. But i get these errors: kevin@ubuntu:~$ curl https://install.meteor.com | sh The program…
Kevin Simper
  • 913
  • 1
  • 6
  • 6
77
votes
8 answers

Download ZIP file with curl command

How can I download ZIP file with curl command? I tried curl -sO, but error occurred. I want to download zip file from address: http://github.com/ziyaddin/xampp/archive/master.zip but can't. What must I type?
Ziyaddin Sadygly
  • 7,579
  • 6
  • 28
  • 34
72
votes
5 answers

Ubuntu 20.04 - how to set lower SSL security level?

I'd like to ask if there's a way to lower SSL security level to 1 on Ubuntu 20.04, since I'm receiving: 141A318A:SSL routines:tls_process_ske_dhe:dh key too small when trying to curl the website. Curl works if I add --ciphers 'DEFAULT:!DH'…
53
votes
2 answers

Cannot find curl-config in Ubuntu 13.04

I am installing package RCurl in R and getting an error checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package ‘RCurl’ I have tried to install libcurl on Ubuntu, but it doesn't solve my problem have…
Aashu
  • 643
47
votes
5 answers

curl is not working on Ubuntu 18.04 LTS

I can't fetch content from the web using `curl. I tried to install it and got the output below: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that…
Joseph-L-S
  • 1,113
46
votes
3 answers

curl: (23) Failure writing output to destination

I want to run the following on ubunt 20.04: sh <(curl -L https://nixos.org/nix/install) --daemon what I got is this: sh <(curl -L https://nixos.org/nix/install) --daemon % Total % Received % Xferd Average Speed Time Time Time …
Sanyifejű
  • 1,701
45
votes
4 answers

What is the difference between curl and wget?

Both of these curl and wget are use for downloading files, etc. What are the notable differences one might take in account in order chose one over the other?
snoop
  • 4,110
  • 9
  • 41
  • 58
39
votes
6 answers

How to verify the SSL fingerprint by command line? (wget, curl, ...)

Using a command line website downloader, such as wget, curl or any other one... In a script... I have the SHA-1 and the SHA-256 certficate fingerprint of a website. Due to security concerns (1) (2), I don't want to use the public SSL certificate…
32
votes
1 answer

`curl -O` stores an empty file though `wget` works well

I have tried to download a file from https://logz.io/sample-data. curl -O https://logz.io/sample-data However, it just returns an empty file named sample-data. In contrast to curl, however, wget works well returning a file containing proper…
user3523935
  • 455
  • 2
  • 6
  • 10
28
votes
6 answers

cURL Received HTTP/0.9 when not allowed, but nghttp2 is installed

I'm trying to setup the wallet RPC for a Monero node, but when I use cURL to that port, I get this error: curl: (1) Received HTTP/0.9 when not allowed However, checking curl --version gives me this: curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0…
Fibericon
  • 283
  • 1
  • 3
  • 6
27
votes
2 answers

How to determine the HTTP status without downloading the complete page?

I want to know the HTTP Status of the websites using Ubuntu. I have used curl and wget command for that purpose. But the problem is these commands download the complete website page and then search for the header and display it on the screen. For…
22
votes
9 answers

How to build curl with the latest openssl?

So I build openssl ./config make sudo make install sudo ln -sf /usr/local/ssl/bin/openssl `which openssl` I build curl ./configure --with-ssl make make install OpenSSL looks installed correctly: openssl version OpenSSL 1.0.1g 7 Apr 2014 however…
Peter
  • 303
22
votes
4 answers

How to set variable in the curl command in bash?

I have a bash file: #!/bin/bash # yesnobox.sh - An inputbox demon shell script OUTPUT="/tmp/input.txt" # create empty file >$OUTPUT # cleanup - add a trap that will remove $OUTPUT # if any of the signals - SIGHUP SIGINT SIGTERM it received. trap…
18
votes
1 answer

How do I install curl with http2 support

It seems like curl packed with ubuntu 16.04 does not have http2 support. How do I enable http2 in curl
Tachyons
  • 17,455
1
2 3
26 27