php - 缺少 php8.1-curl 包

标签 php ubuntu apt

我正在尝试安装 php8.1-curl我系统上的包 - Ubuntu 21.04 .我添加了 Ondřej Surý 的存储库 (add-apt-repository ppa:ondrej/php),执行 apt update我可以安装php8.1和许多其他扩展(例如 php8.1-zip )通过 apt install php8.1... ,但不是 php8.1-curl由于某些原因。

> 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'
我应该如何解决这个问题?我在哪里可以找到该软件包以及为什么它在我的系统上丢失?

最佳答案

尝试删除并重新添加 ondrej/php 存储库
更新系统

apt-get update -y
检查包裹
apt-cache search php8.1-curl
你应该看到这样的输出

php8.1-curl - CURL module for PHP

关于php - 缺少 php8.1-curl 包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71429561/

相关文章:

php - 使用 laravel mysql 将列的数据转换为多列(将列的数据转换为特定列)

php - Mysql 转储空文件

php - 配置 apache2 的问题

ubuntu - kafka启动错误ubuntu类加载失败

c - 在 macOS 上构建 APT(我已经做了大部分移植)但出现错误 "use of undeclared identifier ' GetSrvRecords'”

android - 找不到方法 apt()

php - 使用 PHP 调用 AWS Api Gateway 的首选方式

linux - 将 PDF/DOCX 转换为 mac iwork Pages(5.5.3) 格式

java - 扫描仪无法解析为类型

ubuntu - 在 Ubuntu 中编译和安装 apt pkg 时出现 "A breaks B and and is installed"是什么意思?