Hot answers tagged curl
apt-get install libcurl4-gnutls-dev or apt-get install libcurl4-openssl-dev depending on whether you want to use gnutls or openssl for SSL.
The 3 packages that you found to contain curl-config: libcurl4-gnutls-dev libcurl4-nss-dev libcurl4-openssl-dev All seem to have the same functionality. I installed the first of these via Synaptic Package Manager and was then able to install RCurl from CRAN. So, if you choose the first option, open a terminal box and do sudo apt-get install ...
Answers to the different updates First question You need the command sudo apt-get install curl The install is missing in the command you use: sudo apt-get curl won't work because apt-get does not have a command curl. First update Also you want to run update first: sudo apt-get update And you might want to consider using this command: sudo apt-get ...
CURL is needed for rvm, specifically it is used for the installer script (which is made to be 'run everywhere'), and since Mac doesn't ship with wget but does with curl, they use curl. From CURL man page curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, ...
There are many ways, of course, but I start with one which is simple to explain: it just requires some command line magic. I assume that there is internet connection (check it for example with ping -c 5 google.com. Also, I assume that /my/file is the location of file you would like to submit, and JohnDoe is your askubuntu nickname. The simplest of it all, ...
I found it. I must use curl -LOk and it works fine. wget command is good too.
Workaround if apt-get still works behind the proxy add sources manually to /etc/apt/sources.list add gpg key Adding sources manually I think on launchpad.net every ppa still contains a small description how to add sources manually. The launchpad site for your mentioned ppa ppa:nilarimogard/webupd8 is https://launchpad.net/~nilarimogard/+archive/webupd8. ...
For PHP: install curl sudo apt-get install php5-curl restart apache sudo apache2ctl restart
Actually it seems to be much easier than the answer posted previously. You just need "sudo" to know that you are behind a proxy and it will work effortlessly. To do this, you need to export your proxy for http and https the way you usually do: export http_proxy=http://username:password@host:port/ export https_proxy=https://username:password@host:port/ and ...
You have to compile curl with sftp support first. Download and unpack the curl source. After that: sudo apt-get install build-essential debhelper libssh2-1-dev sudo apt-get source libcurl3 sudo apt-get build-dep libcurl3 cd curl-x.xx.x/debian nano rules find and replace "--without-libssh2" with "--with-libssh2" cd .. sudo dpkg-buildpackage cd .. ...
By default, the filename of the URL is used as the target filename. If redirection occurs, it is preferable to use the final filename. That can be accomplished with the --trust-server-names option of wget: wget --trust-server-names http://example.com/file.php From the manual page of wget: --trust-server-names If this is set to on, on a redirect the ...
Easiest way to bash login: wget --save-cookies cookies.txt --keep-session-cookies --post-data="username=foo&password=bar" "http://some.site/login.php" Although some websites may have some restrictions to login like this.
You can try this even in Yahoo prompt bash ... you will get a login accepted curl --user name:password http://mail.yahoo.com -v curl is the way to do it in bash.
This is a known bug in wget 1.12. As you are running an unsupported version of ubuntu the best course of action would be to upgrade to a supported version . wget 1.14 is the latest version in ubuntu and has fixed this bug.
You can try typing: wget --spider It gives for example: Tryb spider włączony. Sprawdź czy zdalny plik istnieje. --2013-12-12 20:37:17-- http://askubuntu.com/questions/389910/get-the-size-of-a-remote-file-from-terminal Translacja askubuntu.com (askubuntu.com)... 126.96.36.199 Łączenie się z askubuntu.com (askubuntu.com)|188.8.131.52|:80... połączono. ...
What it means is that you don't have curl installed and you need to install curl to use it. This can be done by going to a terminal CTRL + ALT + T then entering sudo apt-get install curl to install curl and sudo apt-get install php5-cli to install php cli. This can be done in one line of code which is sudo apt-get install curl && sudo apt-get ...
As you can read on the curl manpage -i, --include (HTTP) Include the HTTP-header in the output. The HTTP-header includes things like server-name, date of the document, HTTP-version and more... Your command should be: curl -u $authentication -H $content_type --digest -X POST $url --data $parameters
I solved it by installing libcurl4-openssl-dev sudo apt-get install libcurl4-openssl-dev
If you want to download the file use wget [option]... [URL]... instead. For more information regarding the options, just type this into your Terminal: man wget For you purpose: wget http://github.com/ziyaddin/xampp/archive/master.zip Note that the .zip file will be saved in the current directory you are in.
You need to specify the directory where OpenSSL is installed (your symlink is neither necessary nor sufficient) ./configure --with-ssl=/usr/local/ssl EDIT: Alternatively, you can set your PKG_CONFIG_PATH environment variable (as suggested by ./configure --help): PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig ./configure
Bash is interpreting the URL. The < and & mean things to it so they're being ripped around and aren't being passed to lynx. The simple answer is to quote the url: lynx -accept_all_cookies 'https://github.com/search?q=jquery+stars%3A>10+forks%3A<10&type=Repositories' I'm using single quotes here so that even $ isn't interpreted.
On ubuntu/debian, this file is in /etc/ssl/certs/ca-certificates.crt. You could symlink it. The /etc/pki/ path is used on Redhat.
For the most part, software installed from the repository can and sometimes will overwrite source-built software. If you want to stop this from happening (i.e. have another source built version lingering on your system, and easy to remove), then continue reading. It is always advisable to set up the source build so that it installs to a different directory. ...
curl -s -u twitterusername:twitterpassword https://stream.twitter.com/1/statuses/sample.json -o "somefile $(date + format).txt" Where, format can be any one of the following: %a : Abbreviated weekday name (Sun..Sat) %b : Abbreviated month name (Jan..Dec) %B : Full month name, variable length (January..December) %d : Day of month (01..31) %e : Day of ...
You can force curl to use a specific source address with the --interface option of curl, e.g. curl --interface 2001:db8::f00:1234 http://example.com/updatedns.html
Answered by launchpad The documentation in /usr/share/doc/libcurl4-gnutls-dev/html/curl-config.html is indead wrong, and thus this is a documentation bug. Instead or reading on line 88: `curl-config --cc --cflags --libs` -o example example.c it should read `curl-config --cc --cflags` -o example example.c `curl-config --libs` This places the shared ...
Frantique's answer worked for me - however when I tried to upgrade my system, my package manager wanted to revert the installation back to a curl that does not have sftp/scp. To avoid having to reinstall curl with sftp/scp after every upgrade: sudo aptitude hold libcurl3 sudo aptitude hold libcurl3-gnutls Use apt-mark if you use apt. Read this page if ...
Only top voted, non community-wiki answers of a minimum length are eligible