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

learn more… | top users | synonyms

22
votes
2answers
47k views

Installing curl.h library

Could you help me install curl.h library?
14
votes
1answer
65k 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: ...
13
votes
1answer
22k 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 ...
11
votes
2answers
12k 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 ...
8
votes
4answers
21k 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), ...
7
votes
2answers
948 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
2k 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
3answers
12k 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 ...
5
votes
2answers
3k 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 ...
4
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 ...
4
votes
3answers
27k 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 ...
4
votes
2answers
12k 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
13k 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
5k 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 ...
3
votes
3answers
14k 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
131 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
384 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
157 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
0answers
206 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 ...
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
2answers
79 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
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 ...
2
votes
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 ...
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
787 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
2answers
541 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
2answers
392 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 ...
2
votes
1answer
862 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
552 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
917 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
2answers
4k 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
1answer
6k 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 ...
1
vote
2answers
1k 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
802 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
2answers
7k 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
1answer
127 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
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
583 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
3k 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
5k 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
770 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
154 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
545 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
200 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
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
207 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
105 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
704 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
2answers
85 views

how to query maas API with curl

I am trying to figure out how to query the MAAS server using curl. I am starting to experiment with CLI query so that I may build a python script for remote command and query without having to use ...