Home  >  Q&A  >  body text

Unable to install php8.0-curl on Ubuntu 21.10

<p>I'm trying to install php8.0-curl on my server. But it keeps giving me the following error: </p> <pre class="brush:php;toolbar:false;">$ sudo apt install php8.0-curl Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package php8.0-curl E: Couldn't find any package by glob 'php8.0-curl'</pre> <p>I followed the steps below with no success. </p> <pre class="brush:php;toolbar:false;">sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt install curl sudo apt install php8.0-curl</pre> <p><br /></p>
P粉242535777P粉242535777443 days ago506

reply all(1)I'll reply

  • P粉090087228

    P粉0900872282023-08-27 00:36:42

    I'm using the wrong repository. Following this answer solved the problem. https://serverfault.com/a/1106701

    reply
    0
  • Cancelreply