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

learn more… | top users | synonyms

17
votes
2answers
40k views

Installing curl.h library

could you help me install curl.h library? I am creating a program that makes use of this C library. I'm on Ubuntu Linux. Thanks.
11
votes
1answer
49k 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: ...
10
votes
1answer
15k 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 ...
9
votes
2answers
10k 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 ...
7
votes
2answers
788 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 ...
6
votes
1answer
1k 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 ...
5
votes
4answers
15k 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), ...
4
votes
2answers
10k 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 ...
4
votes
2answers
2k 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 ...
3
votes
3answers
9k 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 ...
3
votes
1answer
1k 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 ...
3
votes
2answers
12k 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 ...
3
votes
2answers
10k 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 ?
3
votes
1answer
119 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
2answers
372 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
147 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 ...
2
votes
2answers
5k 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 ...
2
votes
1answer
5k 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 ...
2
votes
1answer
448 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 ...
2
votes
1answer
774 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
0answers
133 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 ...
1
vote
2answers
59 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 ...
1
vote
3answers
18k 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 ...
1
vote
2answers
3k 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 ...
1
vote
2answers
267 views

saving multiple files with cURL

I have this list of URLs in a .txt file -which i'm suppose to get content of them. To achieve this, i decided to use cURL. With xargs curl < url-list.txt , i can display all the content of the URL ...
1
vote
1answer
506 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 ...
1
vote
1answer
1k 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 ...
1
vote
2answers
6k 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 ...
1
vote
1answer
3k views

How to link with libcurl on Pangolin

Since Pangolin, I can't manage to link any program with libcurl, even the example provided with libcurl themselves. I have installed libcurl: sudo apt-get install libcurl4-gnutls-dev Then as the ...
1
vote
2answers
35 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 ...
1
vote
1answer
41 views

curl command fails with time out when downloading meteor

I'm having the same issue described here: curl command fails with a timeout The solution says to define the https proxy variable with all upper case letters. This is what I've tried: me@medev:~$ ...
1
vote
2answers
443 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 ...
1
vote
1answer
3k 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 ...
1
vote
2answers
2k views

posting HTML req to RESTART ROUTER via terminal on CURL fails

I read from this page how to restart the router using curl. I got the command for my router http://192.168.1.1/Forms/tools_system_1?restoreFlag=0&Restart=RESTART It works when i put it in ...
1
vote
1answer
498 views

How to mount / after running “apt-get remove php5-curl”?

While trying to tear down a Drupal dev environment, I ran sudo apt-get remove php5-curl It started removing all kinds of packages, like the browser, among other things. I hit Ctrl+C when I saw what ...
1
vote
1answer
2k views

“Unable to load dynamic library ” error when trying to run curl with PHP

I ran : sudo apt-get install curl libcurl3 libcurl3-dev php5-curl Put: extension=php_curl.so in both /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini But running php from the command line ...
1
vote
1answer
4k views

Curl and system proxy

I am currently forwarding all my traffic through a ssh tunnel: ssh -ND 8080 user@remote-machine And have set the system socks5 proxy (in system settings under network section) to 127.0.0.1:8080. ...
1
vote
1answer
701 views

Firefox addon that extract's YouTube URLs

We have a country-wide ban on YouTube.com, which means that you can't watch or download YouTube content even educational stuff or documentaries. Proxy or VPN are next to unusable for watching or ...
1
vote
0answers
137 views

Crontab not executing script with cURL

I have a cron that's set to run every ten minutes that works fine if I execute the file manually by entering php register.php But, my cron will not execute this file once it includes anything cURL ...
1
vote
1answer
240 views

How to remove all traces of curl installed using libcurl package (.tar.gz)

I have installed curl package in ubuntu 12.04. I tried the sudo apt-get install php5-curl method but it did not work. I downloaded the curl-7.37.1.tar.gz package from ...
1
vote
0answers
133 views

cURL - 404 error when trying to POST a file

Forgive my Linux n00bishness, I'm only just starting out! I'm trying to POST a file to a Windows web listener using cURL but am receiving an error that I haven't been able to find an explanation for ...
1
vote
0answers
570 views

Ubuntu 12.04: Crontab stopped running/Curl and cron blocking?

I have created a number of PHP daemons in the past and my general procedure is this: Run a cron job every minute to start up a new instance of the daemon Create a log file Check to see if enough ...
1
vote
0answers
14 views

curl/types.h file or directory not found [duplicate]

I have a cpp code to compile but while compiling it is showing the error of curl/types.h file or directory not found, compilation error, fatal error. I am using ubuntu 12.10. please help me to fix ...
1
vote
2answers
184 views

Multiple versions of Libcurl?

Is it possible to have multiple versions of libcurl installed in Ubuntu? For instance, suppose I have version 1.0 installed, and I download version 1.1, and install it. Is there anyway to keep ...
0
votes
1answer
45 views

curl command fails with a timeout

I'm trying to run the following command on my ubuntu box: curl https://install.meteor.com/ | sh It times out. I tried to ping the address but it just sits there. I also tried to ping google.com ...
0
votes
1answer
112 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 ...
0
votes
1answer
77 views

Posting XML through cURL using --data-binary

I have this really typical problem. I have an XML file that I have to post to a server. I was told by the network engineer of that site to use the cURL function. The function that he provided to me ...
0
votes
1answer
295 views

What is the default timeout value for curl when used as command on terminal?

have searched a lot to find out default timeout value of curl. All suggests how to set timeout limit for curl. But Can anybody please suggest what is the default value of curl command timeout time? If ...
0
votes
1answer
172 views

Extract tar.gz to STDOUT and zip STDOUT

I need to extract an tar.gz archive I downloaded with curl into STDOUT and use the STDOUT as STDIN for zipping the files again. curl -L someURL | tar xz --strip-components=1 -O| zip -r test.zip ...
0
votes
1answer
427 views

PHP Startup Unable to load dynamic library

I'm getting this error in my apache error log while trying to get cURL to work on PHP: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/curl.so' - ...