John Davidson

php - Installing Xdebug, phpize not table to find package

0 comments
Message:


When I try to install phpize for my Pop OS VM I get this error. I have done an sudo apt-get update as well but am still unable to do it.


I was following the steps that was in this recommendation for Xdebug:



but ...


cs@pop-os:~/Downloads$ sudo apt install php-dev.openSUSE
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-dev.openSUSE
E: Couldn't find any package by glob 'php-dev.openSUSE'


My Answer:
It seems like you are trying to install the php-dev package for openSUSE, but you are using Pop OS which is based on Ubuntu. The correct package name for Ubuntu is php-dev.

You can try installing php-dev using the following command:


sudo apt install php-dev


Once you have installed php-dev, you should be able to use phpize to install Xdebug.

Rate this post

5 of 5 based on 9697 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us