Questions tagged [curl]
curl is a command-line tool for transferring data using various protocols.
388
questions
0
votes
1
answer
37
views
Why is my .bashrc caching curl when using as command substitution $(curl -s http://someurl.com)? [duplicate]
Here is an alias I made on my ~/.bashrc:
alias rand="echo $(curl -s https://whatthecommit.com/index.txt)"
If you enter this url, it simply returns a random message every request, as ...
0
votes
0
answers
10
views
cant download curl or make on asus zenbook 14x - ubuntu 22.04 [duplicate]
I just dual booted my windows setup with the Ubuntu 22.04 LTS. Everything seems fine, but i can't seem to download basic terminal commands like for example 'curl' or 'make'.
when i use:
sudo apt ...
1
vote
0
answers
38
views
NVM not start downloading, fails download after sometimes
recently i have installed Ubuntu 20.04.6 LTS x86_64
when i hit the command curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash it does not start downloading, it just ...
0
votes
1
answer
52
views
Trying to install Brave, "Curl: (23) Failure writting output to destination"
Just installed Ubuntu, I am a total newbie, I tried installing brave via the official installation instructions for installing Brave on Ubuntu (and Mint and Debian) here: https://brave.com/linux/
But ...
0
votes
0
answers
134
views
Bash: call a URL with lots of query parameters
I make a GET call to an API in my bash script, which lets me specify an array of query parameters (e.g. items). So far I have successfully used curl as follows:
curl "https://my-fancy-api.com/api/...
0
votes
0
answers
83
views
Curl errors on fresh 22.04 install
Fresh install of 22.04 curl works very sporadically when attempting to access secure sites. Sometimes it works but most times I get either an error 35 or 60. Installed our company root and ...
7
votes
3
answers
4k
views
SSL: no alternative certificate subject name matches | New release of CURL(USN-6237-1) brings suffering
Since new release of CURL https://ubuntu.com/security/notices/USN-6237-1 we experianc problem with curl command on Ubuntu:
sudo apt update -y && sudo apt install --no-install-recommends -y ...
0
votes
0
answers
52
views
Curl 35 error when try to install plugins
Im trying to install some plugins in wordpress on Ubuntu 22.04 vps but I get ssl errors for some plugins
Downloading installation package from https://roadthemes.com/plugins/mega_main_menu.zip…
...
0
votes
1
answer
103
views
curl to localhost fails in 20.04
I have host machine 20.04 and guest VM box 22.04
I am trying to run the curl command and on both machine getting the same error.
Host running this:
sudo ufw status
Status: active
To ...
0
votes
1
answer
117
views
Download a .deb file without installing on a non debian device without using apt
Is it possible to simply download a deb file using curl or get it without having to dig for the URLs from the ppa file or use apt? Mainly to simple download the file from other non debian Linux ...
0
votes
0
answers
33
views
Using Ubuntu 20.04 LTS, after latest software update I am unable to scrape movies in my Kodi library. Is this an Ubuntu issue?
Here is the specific section of the kodi.log that shows what is happening:
2023-07-05 21:23:00.818 T:139783248335744 NOTICE: Starting Kodi from Debian (18.6 Debian package version: 2:18.6+dfsg1-...
0
votes
0
answers
156
views
`wget -U` and `curl -A` both receives 403 forbidden response
I have tried both curl -A and wget -U and both receive 403 forbidden response. The agent I use is 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.27 Safari/537....
0
votes
1
answer
86
views
I'm trying to install Stardog on my linux system for some projects but curl isn't working and this is what happens with the documentation
documentation:
https://docs.stardog.com/install-stardog/linux-installation
$ curl http://packages.stardog.com/stardog.gpg.pub | apt-key add
% Total % Received % Xferd Average Speed Time ...
0
votes
0
answers
90
views
Warning: apt-key is deprecated, when installing Microsoft Edge
To install Microsoft Edge, the suggestion is to:
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
however, this is now deprecated. So the suggestion is to now use ...
0
votes
0
answers
299
views
Why curl running from a container complains about local issuer certificate when all the certificates are supposedly present?
Here is my docker command line:
mark@L-R910LPKW:~$ docker run -v /etc/ssl:/etc/ssl -v /usr/local/share/ca-certificates:/usr/local/share/ca-certificates -v /usr/share/ca-certificates:/usr/share/ca-...
1
vote
1
answer
296
views
Unable to update or install *anything* because of curl conflict
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-60-generic (64-bit)
I can't upgrade from Discover or from the terminal. I get the following error(s)...
0
votes
1
answer
216
views
Why is php7.4-curl version not installed?
I me an Ubuntu 22.04 cloud server. Site version php 7.4.30
I needed to install curl version 7.4, I did the following:
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.4-...
1
vote
1
answer
65
views
Cant run curl with arguments from .desktop file
I've been trying to get a .desktop file to open a new full screen terminal, run "curl wttr.in" (wttr.in is a weather forecast service that works well with the terminal) , and leave the ...
1
vote
1
answer
909
views
post upgrade to Ubuntu 22.04 - curl error - libldap_r-2.4.so.2 cannot open shared object file
After upgrading to Ubuntu 22.04 when I run the curl command it's giving this error:
/usr/bin/curl: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such ...
2
votes
0
answers
605
views
Right After piping to "head"/"tail": "curl: (23) Failure writing output to destination"
When I curled a too long API call and wanted to show only the first 30 lines in the console with curl my_api_call|head -30, I ran into:
24 49931 24 12089 0 0 98k 0 --:--:-- --:--:-- -...
0
votes
0
answers
56
views
Installing hyperledger fabric binaries
While installing fabric binaries using this "curl -sSL https://bit.ly/2ysbOFE | bash -s"
getting error "curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to raw....
0
votes
1
answer
785
views
I am getting connection TimeOutError while using curl
I am trying to access this curl -fsSL https://raw.githubusercontent.com/m1guelpf/plz-cli/main/install.sh | sh - but everytime I run I am getting the following error
curl: (28) Failed to connect to raw....
2
votes
1
answer
456
views
How to log URL to a file only if it’s HTTP status code is 200?
I want to make a script so I can check if I can connect to several URL.
For example I do curl -i -L --silent URL | grep "HTTP/2 200" >> *.txt
I want to combine it with an if statement ...
0
votes
1
answer
2k
views
Difference between curl and libcurl in Ubuntu
What is the difference between installing curl (sudo apt install curl) and installing libcurl (sudo apt install libcurl-dev)
0
votes
1
answer
519
views
ufw Does Not Block Port for curl
I am trying to block outgoing traffic to port 9200 temporarily. My use case is I want to test what happens when an Elasticsearch cluster (at port 9200) becomes unreachable to my application.
I ...
0
votes
0
answers
8k
views
How to solve: curl: (23) Failure writing output to destination
I am really new to Ubuntu (22.04.1 LTS) and I would like to install Rclone using the command described in their installation page: https://rclone.org/install/
sudo -v ; curl https://rclone.org/install....
0
votes
0
answers
360
views
Can't install software with curl commands
I tried to install code-server and pi-hole, but ran into problems. When I install code-server with the command from this website, without the silent:
curl -fSL https://code-server.dev/install.sh | sh
...
0
votes
0
answers
2k
views
Cant able to use wget or curl in ubuntu 20.04.4
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
--2022-07-06 09:24:21-- https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
Resolving repo.anaconda.com (...
1
vote
0
answers
132
views
How to install curl without removing kodi?
I'm running Ubuntu 18.04.6 LTS.
When I run:
sudo apt update
sudo apt install curl
I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following ...
1
vote
0
answers
740
views
curl: symbol lookup error
I'm having problems installing curl on a laptop running Ubuntu 20.04.
I simply run
sudo apt install curl
And it all seemed to work:
Reading package lists... Done
Building dependency tree
...
0
votes
1
answer
155
views
Is it possible to install Ubuntu without openssl and libcurl preinstalled?
I am looking for an Ubuntu installation that don't have preinstalled libcurl and openssl - for testing.
Is it possible to install Ubuntu without openssl and libcurl preinstalled?
Thanks
0
votes
1
answer
397
views
Ubuntu Windows App Curl Command Stuck on 0 speed with all 4 bars of WiFi (Windows 11)
So, I'm trying to run the Ubuntu WSL, and I'm trying to download a very small file with the curl command. However, it just hangs on this:
i'm not allowed to embed images yet so click this link pls
and ...
0
votes
0
answers
827
views
curl: (60) SSL certificate problem: certificate has expired while building MikTeX from source
I am trying to build MikTeX on a fresh Ubuntu 22.04 but got an error about curl: (60) SSL certificate problem. The build process has worked before.
I build from source following the official ...
0
votes
1
answer
2k
views
How to pass json parameters for Jenkins using CURL?
I'm trying to build a job by passing JSON parameter for Jenkins through Linux CLI. But I'm not able to pass the parameters in JSON. I have used -g to turn off globbing. Still the issue persists. Any ...
0
votes
0
answers
1k
views
Linking Zlib with source compilation
I have compiled Libz using these steps:
wget -c --no-check-certificate https://zlib.net/zlib-1.2.12.tar.gz
./configure --prefix=/home/zlib1/
make
make install
Similarly I have compiled OpenSSL and ...
1
vote
0
answers
345
views
APT CURL etc. expect lower case HTTP_PROXY variables
We have 4 (presumably) identical Ubuntu 20.04 machines and one of them expects the environment variables HTTP_PROXY, HTTPS_PROXY AND NO_PROXY to be lower case.
Programs such as curl and apt work ...
-1
votes
1
answer
901
views
How to check that username password is correct using curl command?
I want to be able to write a curl command where in i pass options like username password in the curl itself and it should connect to the server. Is there a way where we can find if the user is able to ...
1
vote
0
answers
104
views
CURL request only works outside of VM
VM: Windows Subsystem for Linux with Ubuntu 18.04.
Curl version: 7.58.0
Command used: curl -v "http://IP:PORT/PATH"
Result:
* Trying IP...
* Connected to IP (IP) port PORT(#0)
> GET /PATH ...
1
vote
0
answers
910
views
Installation of intermediate certificate not working for command line tools
TL;DR: No description on how to install a intermediate certificate works under Ubuntu 18.04. Any suggestions?
Before marking this as a duplicate of How do I install a root certificate?
or any other ...
0
votes
1
answer
57
views
wget download file to inurl directory
Is there any way to download file to inurl directory.
For example:
Here the url is https://url.com/api/discovery/manifest
I want the download structure be like
root_folder
- api
-- discovery
---- ...
7
votes
5
answers
27k
views
curl: (77) error setting certificate verify locations (Ubuntu 20.04.3 LTS)
I'm installing Waydroid on Ubuntu, when running:
export DISTRO="focal" && \
sudo curl -# --proto '=https' --tlsv1.2 -Sf https://repo.waydro.id/waydroid.gpg --output /usr/share/...
0
votes
1
answer
5k
views
PHP mbstring, xml and curl setup
My script installation rquires the following setup:
sudo apt update,
sudo apt install php-curl,
sudo apt install php-mbstring,
sudo apt install php-xml,
sudo service apache2 restart
After running the ...
35
votes
3
answers
79k
views
curl: (23) Failure writing output to destination
I want to run the following on ubunt 20.04:
sh <(curl -L https://nixos.org/nix/install) --daemon
what I got is this:
sh <(curl -L https://nixos.org/nix/install) --daemon
% Total % Received ...
7
votes
2
answers
3k
views
Bash variable in 2 quotes
I want to send a request like this with curl:
curl some parameters and headers --data-binary '{"secret":"$1"}'
but $1 is not being variable. I tried using echo with this command:
...
0
votes
0
answers
2k
views
gnutls_handshake() failed: An unexpected TLS packet was received from ubuntu 16 curl(7.47.0)
am facing this issue when triggering curl to a target application hosted in ubuntu 20.
curl: (35) gnutls_handshake() failed: An unexpected TLS packet was received,Below is the curl version in source.
...
7
votes
1
answer
1k
views
After installing youtube-dl on Ubuntu 21.10 with the instructions on github many applications, including default text editor, broke
A new user here, running ubuntu on version 21.10 impish.
I was installing youtube-dl with the instructions on the github page (https://github.com/ytdl-org/youtube-dl#installation):
$ sudo curl -L ...
-1
votes
1
answer
26
views
Is there anyway to pull multiple pictures from an excel sheet at once on my ubuntu
I have this task which will take me forever to finish, about 1000 rows in an excel sheet of pictures names and links in different two columns (1st &3rd columns).
i was thinking if i could use curl ...
0
votes
0
answers
2k
views
curl hangs and does nothing
I have specific domain, that can be accessed from everywhere. When I do this on other PC it works:
curl -v mydomain.com
But when I do the same from my PC it just hangs infinitely. No errors, just ...
4
votes
2
answers
2k
views
curl dynamic linking problem in 21.10
I recently got a Dell Precision 3450 with ubuntu 20.04, and upgraded to ubuntu 21.10 in two steps (20.04 -> 21.04 -> 21.10). This required upgrading the file /usr/lib/os-release by hand, as ...
2
votes
0
answers
371
views
cURL on Ubuntu 21.04 does not usually display JSON response bodies
I just installed Ubuntu 21.04. I was surprised to find that the version of curl that comes installed does not display JSON response bodies in many cases... I'm still trying to understand why sometimes ...