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

learn more… | top users | synonyms

12
votes
3answers
17k 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 ...
6
votes
5answers
19k 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 correctly:...
0
votes
0answers
25 views

Codeblocks error undefined reference to curl_global_ in C++

I new to the web application of c++ and trying to learn about fetching websites and its contents using curl in c++ . My aim is to create a c++ programe which can parse json data from a website. I am ...
0
votes
1answer
26 views

nodejs 6 installation shows version 0.10.25

I am trying to install the nodejs 6 version : curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs First of all , it returns me an error: env: -E: No such ...
2
votes
2answers
439 views

Unable to update Node JS - keeps returning to old version [Ubuntu 15.04]

I'm unable to update nodejs, and I can't see why. If I were to make a guess, I'd say that I have two repositories listed in apt-get, that both contain a nodejs package. Here's what I've done: ...
0
votes
1answer
4k views

curl: (60) SSL certificate problem: unable to get local issuer certificate

Edit: I had updated my root CA certificates from curl.haxx.se . When I try curl -Iv https://yahoo.com I get an error as unable to get local issuer certificate in the result. However if I try curl -...
1
vote
1answer
64 views

Terminal windows open with [“#Curl: command not found”]

This seems to be related to my ~/.bash_aliases file. The message only appears when I open a new terminal window and when I try source ~/.bash_aliases. I've made sure CURL and all related libraries are ...
0
votes
1answer
25 views

How to tell if cURL Module is enabled

How do you check to see if you have cURL enabled? I have tried to install using sudo apt-get install php5-curl as well as sudo apt-get install php7-curl both show that they read package list, build ...
0
votes
0answers
47 views

Can not compile due to curl

I use Ubuntu 14.04 (trusty) under user to compile a project which linked to libcurl.so symbol, but it complains: ~/local/lib/libcurl.so.4: no version information available (required by cmake) /bin/...
8
votes
1answer
37k 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 'curl'...
1
vote
2answers
88 views

Why is cURL not installed by default?

Many applications require curl or libcurl for running or installation. Why does Ubuntu not provide it by default?
-2
votes
1answer
57 views

Curl POST request fails [closed]

Curl version installed on My system was :curl 7.35.0 I tried to run the below command but it returned an errorcode 7: outpt=0; FUEL_TOKEN_JSON="$( /usr/bin/curl --noproxy '*' -s -H 'Content-Type: ...
0
votes
0answers
26 views

Installing Steam on Ubuntu 14.04

I'm a new user to Linux and I'm having some problems trying to install steam on my laptop. I tried downloading the latest version from steam store, using USC to install it and even the terminal. Each ...
4
votes
3answers
188 views

how does adding a ppa with a curl command work?

This link discusses different ways to install nodejs and npm. One of the methods was installing it via ppa. curl -sL https://deb.nodesource.com/setup | sudo bash - He used the above command to add ...
3
votes
1answer
8k 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! ...
0
votes
0answers
170 views

curl: (56) GnuTLS recv error (-9): A TLS packet with unexpected length was received

I'm installing meteor through curl, But getting this error: curl: (56) GnuTLS recv error (-9): A TLS packet with unexpected length was received. gzip: stdin: unexpected end of file tar: Unexpected ...
0
votes
1answer
2k views

Cannot install php-curl on Ubuntu 16.04 & PHP 7

Command: sudo apt-get install php-curl Output: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ...
7
votes
2answers
11k 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 ...
1
vote
2answers
678 views

Cannot install curl-config in Ubuntu 12.04

When trying to install the R package RCurl I get the following error: checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package ‘RCurl’ Yet, curl-config exists ...
2
votes
1answer
436 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: carlo@carlo-...
1
vote
2answers
207 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 ...
0
votes
1answer
375 views

Update PHP to use latest Curl Version

We have installed Curl 7.46.0 but PHP is still referencing 7.35.0 How do we get PHP to use the latest installed version curl--version shows correct version running but php working with previous ...
1
vote
1answer
214 views

Install readr in R and met dirty dependency tree

My Ubuntu and R versions: alvas@ubi:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty alvas@ubi:~$ R > ...
2
votes
1answer
819 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 ...
0
votes
0answers
37 views

Curl not returning page source

So I'm having this problem on OS X but I got a friend to test it on Ubuntu and it did the same thing. I figured this community would be the better one to ask. Something changed in the output of my ...
0
votes
2answers
58 views

Used CURL to get NodeJS, how to remove the files (have not installed nodeJS yet though)

I used: curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - because I wanted to install NodeJS, but after executing the command - I realised I used the wrong command. I need NodeJS version ...
0
votes
3answers
136 views

how to search file using wget or curl on server?

I know wget utility which retrieves files from World Wide Web (WWW) like wget http://ftp.gnu.org/gnu/wget/wget-1.5.3.tar.gz But my confusion is how can i find content in directory on server without ...
1
vote
2answers
79 views

Upgrading Node.js

I'm currently installing Node.js on my system running Ubuntu 14.04 LTS I've run the commands from the website: curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - sudo apt-get install -y ...
0
votes
0answers
35 views

Issue getting curl option autocomplete working with zsh

Im using Ubuntu 14.04 where the zsh _curl completion script is neither installed by zsh or curl. I came across this email to the debian maintainers which contained instructions on how to set it up. ...
-2
votes
2answers
319 views

How to get date, time using Curl command?

In my PC RTC not working, So i want time, Date from server using Curl Command. Required format for date,time is DDMMYYYYHHMMSS. suggest me the command.. Otherwise is their any possibilities to get ...
2
votes
1answer
138 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: ...
0
votes
1answer
236 views

bash script to check website content by curl command

I want to write a script to check out if the website is working fine by checking out some of it is contents. If the content exists in the result, it prints a message telling the website is working ...
0
votes
1answer
33 views

Ubuntu taking a long time (if it doesn't fail) from http://releases.ubuntu.com/, but downloads fast and fine from a provided mirror

So here is what is going on: I am trying to download Ubuntu in a shell script, and used their releases page (releases.ubuntu.com) as it was the first Ubuntu download url I found. Well, it was slow ...
5
votes
2answers
8k 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 ...
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 https://...
0
votes
1answer
67 views

is php5-curl what I want?

I have an NGINX web-server, with php-fpm. I would like to install curl, but I’m not sure that php5-curl is the right package for my server. Should I be concerned? is there a more appropriate package? ...
0
votes
0answers
128 views

Error when trying to install PHP curl - Ubuntu 14.10

When I try to run sudo apt-get install php5-curl I get an error php5-curl : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.12+dfsg-2ubuntu4.6 is to be installed What does this mean and ...
0
votes
0answers
76 views

Use cURL to download file through multiple ips

I'm new to Linux (I use Ubuntu). We have download speed restrictions per local IP (250 kbps), however our ISP offers 150mbps bandwidth. I have assigned multiple local IPs to my NIC. My goals are: ...
13
votes
6answers
45k 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), ...
31
votes
2answers
77k views

Installing curl.h library

Could you help me install curl.h library?
0
votes
0answers
100 views

Easiest way to automate this process?

I need to find a way to automate this process from my VPS. I want to be able to create a script which signs into a website using set POST data (straight forward) but then, visits another page after ...
3
votes
2answers
94 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 ...
5
votes
2answers
3k 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 ...
0
votes
2answers
85 views

`curl` outputs random characters

If I run: curl http://files.unity3d.com/levi/unity-editor-5.2.2f1+20151018_amd64.deb It continuously outputs random characters, then the program completes. I tried reinstalling it, but to no avail....
0
votes
0answers
99 views

A mystic curl error on Ubuntu

I do have a mystic error: CMake Error : downloading '' failed status_code: 1 status_string: "Unsupported protocol" log: Protocol "https" not supported or disabled in libcurl Closing ...
0
votes
0answers
32 views

Retrieve site that uses cookies on virtual-console/tty

I want to have a handy function in my .bashrc that prints some weather information on virtual-console/tty instead of using an out-of-the-box applet. The hints from Weather from Terminal doesn't work ...
2
votes
1answer
630 views

.What to do when Ubuntu 14.04 LTS curl doesn't support a CA certificate, even though it's valid

On Ubuntu 14.04, I'm trying to do this curl https://api.the-newshub.com/api/1/topics/trending/top. It's not working but it does work when you visit using Firefox. I've updated the certificates: sudo ...
1
vote
1answer
3k 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 Content-Type:...
2
votes
1answer
379 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 ...
0
votes
0answers
2k views

curl: (7) Failed to connect to SERVER port 80: No route to host

Please help me to understand. I am currently try to set-up Parsoid with this guide. It is needed for the MediaWiki extension Visual Editor. After the installation of the Ubuntu repositories I ...