Score:1

E: Unable to locate package php7.4-pear

sn flag

I am trying to install php extension pear for php 7.4 in Ubuntu 18.04. When I run command sudo apt-get install php7.4-pear I get this result:

Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
E: Unable to locate package php7.4-pear 
E: Couldn't find any package by glob 'php7.4-pear' 
E: Couldn't find any package by regex 'php7.4-pear'

How I can resolve this issue?

FedKad avatar
cn flag
There is ___no___ package named `php7.4-pear`: https://packages.ubuntu.com/search?keywords=php7.4-pear&searchon=names&suite=all&section=all Can you try `php-pear`? And please note that Ubuntu 18.04 will be EOL in several months.
Raffa avatar
jp flag
Does this answer your question? [Unable to locate package libapache2-mod-php7.0](https://askubuntu.com/questions/1175749/unable-to-locate-package-libapache2-mod-php7-0)
Score:3
om flag

Unless you have third party repositories, there's no package named php7.4-pear. The correct name would be php-pear.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.