Questions tagged [curl]
curl is a command-line tool for transferring data using various protocols.
387
questions
3
votes
2
answers
5k
views
How do i uninstall zed editor from my ubuntu 24
I installed it with these steps:
curl https://zed.dev/install.sh | sh
echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
I am running ubuntu 24. need help to uninstall zed.
...
0
votes
0
answers
890
views
Can't install php8.2-curl
apt install php8.2-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php8.2-curl
E: Couldn't find any package by glob '...
1
vote
0
answers
227
views
I'm stuck on Ubuntu Installation of ROS Noetic (there is an error about Curl package having no installation candidate)
i've been following installation steps from http://wiki.ros.org/noetic/Installation/Ubuntu but stucked at step 1.3 because of this error below:
james@James:~$ sudo sh -c 'echo "deb http://...
0
votes
0
answers
24
views
Ubuntu 24.04 Desktop (RPi) - cannot add repository [duplicate]
I am trying to add the 45Drives repos to my Raspberry Pi Ubuntu install so I can use their Cockpit extensions. When I try to run the command, I get this error saying that curl can't write its ...
0
votes
0
answers
405
views
cURL reporting self-signed cert is not valid
I am trying to use some tools to manage various devices, and found that I can no longer connect to anything running a webserver.
Some troubleshooting later found cURL kicking this error.
curl: (60) ...
0
votes
0
answers
8k
views
curl error 60 (SSL: no alternative certificate subject name matches target host name...)
i have a curl error 60 (SSL: no alternative certificate subject name matches target host name...) I saw in a previous topic that it would be fixed in curl 7.81, but I'm running with 8.2.1... I tried ...
2
votes
0
answers
1k
views
Are there any plans to update curl package to its latest 8.4.0 version, for all ubuntu flavors? [duplicate]
CVE-2023-38545 and CVE-2023-38546 have been flashed for cUrl/libcurl.
Are there any updates about the plan of updating curl package to its latest version of 8.4.0 for different ubuntu flavor's
0
votes
1
answer
78
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 ...
1
vote
0
answers
142
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
954
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
1k
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
767
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
6k
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
860
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
850
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
1
answer
377
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
355
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 ...
1
vote
1
answer
1k
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
543
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
126
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
3
answers
2k
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 ...
3
votes
3
answers
2k
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
1
answer
2k
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
884
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
3k
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
820
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
13k
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
601
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
177
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
1k
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
219
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
627
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
1
answer
3k
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 ...
1
vote
0
answers
2k
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
521
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
1k
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
169
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
1k
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
89
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
---- ...
10
votes
5
answers
50k
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
8k
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 ...
40
votes
3
answers
135k
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
4k
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
2k
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
29
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
4k
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
659
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 ...