'Missing php8.1-curl package
I'm trying to install the php8.1-curl
package on my system - Ubuntu 21.04
. I've added the Ondřej Surý's repository (add-apt-repository ppa:ondrej/php
), performed apt update
and I'm able to install php8.1
and many other extensions (e.g. php8.1-zip
) via apt install php8.1...
, but not php8.1-curl
for some reason.
> sudo apt install php8.1-curl
...
E: Unable to locate package php8.1-curl
E: Couldn't find any package by glob 'php8.1-curl'
How should I go about troubleshooting this issue? Where can I look for the package and why it's missing on my system?
Solution 1:[1]
Try to remove and re-add ondrej/php repository
Update the system
apt-get update -y
Check the package
apt-cache search php8.1-curl
You should see output like this
php8.1-curl - CURL module for PHP
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | MasEDI |