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/

386 questions
80
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
  • 903
  • 1
  • 6
  • 6
77
votes
1 answer

Installing curl.h library

Could you help me install curl.h library?
neilmarion
73
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 Sadigov
  • 7,139
  • 6
  • 25
  • 34
66
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'…
Łukasz Sypniewski
  • 795
  • 1
  • 7
  • 9
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
  • 1
  • 7
  • 14
46
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,033
  • 2
  • 9
  • 10
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,030
  • 8
  • 39
  • 58
37
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…
James Mitch
  • 1
  • 10
  • 23
  • 45
34
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,081
  • 1
  • 4
  • 11
26
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…
Jaffer Wilson
  • 1,548
  • 4
  • 25
  • 35
23
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
  • 365
  • 2
  • 4
  • 10
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
  • 1
  • 4
  • 15
20
votes
4 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
  • 203
  • 1
  • 2
  • 6
20
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…
Valentyn Hruzytskyi
  • 557
  • 2
  • 10
  • 23
19
votes
3 answers

curl .gz file and pipe it for decompression

I am trying to download some .gz files (N.B. not .tar.gz ones) from given URLs and decompress them to overwrite existing files, if any. For each individual download, I tried the following: curl -O $URL | gunzip -f However, this did not work as it…
skyork
  • 461
  • 1
  • 3
  • 7
1
2 3
25 26