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

learn more… | top users | synonyms

30
votes
2answers
72k views

Installing curl.h library

Could you help me install curl.h library?
29
votes
2answers
38k views

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 ...
26
votes
1answer
130k views

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: ...
23
votes
4answers
7k views

What is the difference between curl and wget? [closed]

Both of these curl and wget are use for downloading files, etc. Is there any reason to use one over the other?
13
votes
6answers
42k views

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), ...
11
votes
2answers
16k views

I can't add PPA repository behind the proxy

I'm trying to add the ppa repository (as a root) with the following command: export HTTP_PROXY="http://firstname.surname@xxx.com:my_pass@165.x.x.232:8080" add-apt-repository ppa:nilarimogard/webupd8 ...
9
votes
3answers
23k views

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 ...
8
votes
1answer
33k views

How to make Curl and PHP available when installed from Xampp

I have installed a recent copy of XAMPP on Ubuntu 14.04. However, when I issue this command: curl -sS https://getcomposer.org/installer | php I get the following error messages: The program ...
8
votes
3answers
53k views

Install Curl Ubuntu 12.04

Hi I am trying to install curl library. It is a dependency for the RCurl package in R. So I must install it for R to work properly. I tried: meaneych@meaneych-VirtualBox:~$ sudo apt-get install ...
8
votes
1answer
4k views

OpenSSL not picking up CAs in certs folder

We're having trouble with curl not connecting to an HTTPS server: $ curl https://the-problem-site.com (not the real URL!) curl: (35) error:14077458:SSL ...
7
votes
2answers
1k views

How to submit a file to paste.ubuntu.com without graphical interface?

My GUI does not work. I can only see a text terminal. I would like to send my logs to paste.ubuntu.com but I don't know how. Without a graphical interface, I am lost. Is there any way to submit a ...
7
votes
2answers
7k views

12.04.4 server can't verify common SSL certificates, usual fixes failing

The Problem I've got one server in a farm which is suddenly unable to correctly handle SSL certificates. Attempting to do a curl command like curl -v https://google.com results in: curl -v ...
6
votes
3answers
8k views

How to enable SFTP Support in cURL?

I have installed curl-7.27.0 and it is working fine how ever it is not working is run below command to find whether it is now, but it showed that : Result of the command curl -V ...
6
votes
2answers
7k views

How to fix CA cert issues with Curl in Ubuntu 14.04?

I am using Ubuntu 14.04. When I use curl, I get the following error: curl: (77) error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: From what I gather from ...
5
votes
3answers
33k views

How do I force wget to use a proxy server without modifying system files?

I'd like to know an equivalent to wget enabling me to set the proxy while calling the command (like wget --proxy=$http_proxy). Any ideas ?
5
votes
2answers
2k views

Bash script — store `curl` output in variable, then format against string in variable

I was hoping to curl data into a shell script variable, then use cat or awk to operate on that variable as if it was a file. Is this possible, or is there a workaround? Do I have to save the curl ...
5
votes
4answers
16k views

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 ...
5
votes
2answers
19k views

bash script to login to webpage

I am trying to login into this page but I cannot for the life of me get it to work. I have to login to this site when i connect to my school's wifi in order to start a session. So far ive tried to ...
5
votes
2answers
7k views

/etc/pki/tls/certs/ca-bundle.crt not found

I am using curl -L https://get.rvm.io | bash -s stable to install RVM. I get an error saying CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none I searched a bit on the Internet and found that ...
5
votes
1answer
2k views

Get the size of a remote file from terminal

I want to download a file from a server, but before doing so I would like to know the actual file size. I know that wget will display the filesize when the download is started, but this actually ...
5
votes
1answer
478 views

What is the difference between libcurl3 and libcurl4

I was setting up an Ubuntu 14.04 development environment and went to install libcurl but noticed that there are two different version in my aptitude caches. What are the main differences between the ...
4
votes
2answers
2k views

send base64 encoded image using curl

I am trying to send a base64 encoded image from the command line using curl and base64 like this: curl -X POST -H "Content-Type: application/json" -d '{"image" : $( base64 ~/Pictures/1.jpg )}' ...
4
votes
1answer
2k views

What is curl used for in Ruby?

I am a fairly new used and was looking for a way to install Ruby on my laptop and came across this link: https://rvm.io/rvm/install/ When I use the command specified there, it says curl is not ...
4
votes
2answers
19k views

wget to download a link.php

I am having trouble finding a way to use wget to download a file from a link that uses php to point to the download. for example, if I want to write a script to download... say superantispyware ...
4
votes
2answers
10k views

Ubuntu 12.10 cURL with proxy

I´m using proxy and don´t have problems with anything except cURL. Anytime i try to do: curl -L http://link.to.something i receive: curl: (5) Couldn't resolve proxy 'http' Nevertheless: curl ...
3
votes
2answers
8k views

curl: (5) Couldn't resolve proxy 'hproxy.iitm.ac.in'

I have been using the proxy hproxy.iitm.ac.in. I've moved out now and want to change config to no proxy. On using: curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles ...
3
votes
2answers
88 views

Download executable script from GitHub preserving +x permissions

I want to make a GitHub repository of all relevant scripts I posted here as answers. But to keep it ultimately simple for the users, I would like to give them a single command to download the script ...
3
votes
1answer
179 views

Does installed from source software get overwritten by automatic updates?

As an example I've installed libcurl v7.30 from source, using their tutorial: ./configure --disable-ipv6 --enable-ares make make install I've had libcurl installed from the official repository ...
3
votes
1answer
7k views

Save hourly file from cURL response

I am following along with Twitter's developer and want to do a very basic call against their filter real-time API. The code below almost gets me there: curl -s -u twitterusername:twitterpassword ...
3
votes
2answers
2k views

Is it possible to have multi-thread cURL with Flashgot in Ubuntu?

I have found here that there is a multi-thread version of cURL downloader. How to install it and can it be used with Flashgot? I am not looking for other multi-thread downloaders, I already have ...
3
votes
2answers
410 views

Make curl download using non-Privacy extension IPv6 address?

I currently use net.ipv6.conf.all.use_tempaddr=2 to get IPv6 privacy addresses (which have a random host part are and regenerated a couple times a day). I need dynamic DNS because the computer is ...
3
votes
1answer
209 views

make install - how to use wget, not curl

I do not have root access on my Ubuntu but want to install git. I was following this tutorial but when running make or make install it says curl is not installed. Can I use wget instead if this is a ...
3
votes
2answers
64 views

Why curl/libcurl doesn't support sftp?

I just discovered this bitter truth: my curl doesn't support sftp. ~ curl --version curl 7.43.0 (x86_64-pc-linux-gnu) libcurl/7.43.0 GnuTLS/3.3.15 zlib/1.2.8 libidn/1.28 librtmp/2.3 Protocols: dict ...
2
votes
2answers
116 views

Question about lynx text browser

When I go to visit this url https://github.com/search?q=jquery+stars%3A>10+forks%3A<10&type=Repositories using this command for lynx: lynx -accept_all_cookies ...
2
votes
2answers
6k views

how to install curl 13.04 with depency error

how to install curl in ubuntu 13.04? it always throw this error : Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable ...
2
votes
1answer
2k views

wget doesn't accept google's certificate [closed]

I use wget in a cron job to download my google calendar. I know it was still working last week. Today I noticed it doesn't anymore. wget won't accept google's certificate: $ wget --debug ...
2
votes
1answer
3k views

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 ...
2
votes
1answer
479 views

Unknown SSL protocol error

After upgrade to 15.10 i've got error 35 'Unknown SSL protocol error in connection to ...' when i'm trying to access SSL-secure server using CURL from PHP script (PHP5-fpm). Before the upgrade all ...
2
votes
1answer
6k views

curl: (1) Protocol https not supported or disabled in libcurl

I'm trying to install a framework using curl but I keep getting this annoying error message curl: (1) Protocol https not supported or disabled in libcurl. Does any one know how to fix this? I'm stack! ...
2
votes
2answers
1k views

Problem using expect variable!

I am trying to automate my vpn using a shell scipt What I want is to get a webpage (curl) and parse it for password. If I write a normal script looks something like: var=$(curl -i ...
2
votes
1answer
1k views

Unable to install RVM using curl

When i try to install the rvm using curl it displays the following message:- vverma@l-vverma:~$ curl -L get.rvm.io | bash -s stable % Total % Received % Xferd Average Speed Time Time ...
2
votes
1answer
117 views

How to compile curl with SSL support?

I am running on Ubuntu 14.04 and I have manually installed curl 7.48 (see question http://stackoverflow.com/questions/36866583/libcurl-not-updated). I've tried to execute the command: ...
2
votes
1answer
9k views

Curl with ipv6 not working by default [closed]

I am trying to curl ipv6 adresses, but without success. If i try lets say: curl https://google.com I wait for a timeout and get network unreachable If i force ipv4, everything is fine. ...
2
votes
1answer
287 views

wget, curl HTTP addresses fail, HTTPS work, ping works [closed]

I am running Ubuntu Server 14.04.2, and I can't communicate with external http addresses anymore. I can ping google.com, I can wget https://google.com, but I can't wget http://google.com. $ wget ...
2
votes
1answer
109 views

Laravel CLI cUrl Error on Ubuntu 14.04.3 LTS

I have already installed the nginx, MySQL, HHVM and Composer, everything is working, so I installed the Laravel CLI to run laravel new blog from the terminal but when I run it i get this error: ...
2
votes
1answer
1k views

Missing certificate GeoTrust DV SSL CA - G4

Got a new certificate, but wget and curl are not connecting anymore: wget https://MYDOMAIN ERROR: cannot verify MYDOMAINS's certificate, issued by ‘/C=US/O=GeoTrust Inc./OU=Domain Validated ...
2
votes
1answer
1k views

Curl requiring ciphers to be specified

I am trying to run this command: curl https://api-3t.sandbox.paypal.com/nvp On my ubuntu machine, it failes with the following error: curl: (35) error:14077410:SSL ...
2
votes
0answers
2k views

fresh install, python-software-properties unmet dependencies

attention: This might be more a question for "gis.stackexchange" but it is Ubuntu-related Geonode 2.0 is available for Ubuntu 12.04 but not for Ubuntu 14.04. According to the docs it should be ...
1
vote
1answer
2k views

How to remove http headers from curl response?

How to remove HTTP headers from curl response in bash? I am getting this header values on every response how can I remove them? or not receive them? HTTP/1.1 200 OK Vary: Accept-Encoding ...
1
vote
1answer
2k views

Curl request from cron job is not working,but works manually

I have a cron job that runs every minute and makes a curl request and i have verified that using grep on the syslogs. But the curl is not happening somehow and moreover i have a small echo statement ...