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

learn more… | top users | synonyms

0
votes
0answers
9 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
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! ...
0
votes
0answers
76 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
305 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: ...
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 ...
1
vote
2answers
520 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
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: ...
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 ...
-1
votes
1answer
87 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
148 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
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 ...
0
votes
2answers
40 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?
0
votes
0answers
27 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
28 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
93 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
57 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
19 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
135 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
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: ...
0
votes
1answer
114 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
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 ...
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 ...
0
votes
1answer
42 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
97 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
61 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
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), ...
30
votes
2answers
72k views

Installing curl.h library

Could you help me install curl.h library?
0
votes
1answer
3k 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 ...
0
votes
0answers
49 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
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 ...
1
vote
1answer
304 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: ...
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 ...
0
votes
2answers
66 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 ...
0
votes
0answers
71 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
29 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 ...
1
vote
1answer
414 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 ...
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 ...
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 ...
0
votes
0answers
192 views

install multiarch -dev package - apt does not resolve dependencies

I want to build third party software that uses the mcrypt and curl libraries. I have an armhf system and an x86_64 system, both Ubuntu 15.04. On the target I can do user@armhf:~$ sudo apt-get install ...
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 ...
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 ...
0
votes
0answers
1k 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 ...
0
votes
0answers
41 views

virsh/libcurl doesn't reference imported Root CA certificate

I'm running Ubuntu Server 14.04 and I'm trying to connect to an ESXi host that has a signed certificate signed by my internal CA. Here is the error message seen when connecting: root@ubuntu:~# virsh ...
0
votes
0answers
175 views

How can I download a private bitbucket repo using curl or wget?

I have an account on Bitbucket, I want to download a private repo but I'm not using client like web Browser but using terminal clients like 'curl' and or 'wget'. I want to download a private bitbucket ...
0
votes
0answers
60 views

Ubuntu 14.04 cannot browse, wget and curl https sites. Http works fine

Ubuntu 14.04 cannot browse, wget and curl https sites. Http works fine. What is the problem here? curl http://cisco.internect.net/weather.php Enter your Postcode eg: Canberra: 2600, Sydney: 2000 ...
0
votes
2answers
349 views

How to upgrade/install newest version of nodejs on Ubuntu 14.04

I have been working an hour for this. Taken from their official documentation : curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs However, its never ...
1
vote
1answer
367 views

wget and cURL not working with bash script

I am trying to download an images off a website and have tried: curl -o img.jpg (URL) wget (URL) -O img.jpg wget --save-headers -U "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.17 (KHTML, ...
0
votes
1answer
144 views

POST request using python-maas-client

We can use python-maas-client for accessing the maas API. I need to know the way of performing the post request towards maas using the python-maas-client. Here it is important links: Link for MAAS ...
0
votes
3answers
581 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 ...