cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find devel package required for Magento installation

SOLVED

Can't find devel package required for Magento installation

I'm trying to install Magento Open from this link. In "Verify installed extensions" it tells me I need to have devel extension to be installed. Here's what I get:

sudo apt-get install php7.2-develReading package lists... Done
Building dependency tree       Reading state information... DoneE: Unable to locate package php7.2-devel
E: Couldn't find any package by glob 'php7.2-devel'
E: Couldn't find any package by regex 'php7.2-devel'

I also tried installing it with yum installer and searching for this package on Packagist.org. Still nothing. Anybody had the same problem?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Can't find devel package required for Magento installation

HI @sergey_sherstob 

Check the below solution.

https://centos.pkgs.org/7/centos-sclo-rh-testing-x86_64/rh-php72-php-devel-7.2.10-3.el7.x86_64.rpm.h...

Install Howto

    Install CentOS SCLo RH Testing repository:

    yum install centos-release-scl-rh

    Install rh-php72-php-devel rpm package:

    # yum --enablerepo=centos-sclo-rh-testing install rh-php72-php-devel


https://stackoverflow.com/a/21186903

I hope it will help you!

View solution in original post

4 REPLIES 4

Re: Can't find devel package required for Magento installation

Hi @sergey_sherstob 

May be there is some issue with the php installation, it missed some default extension.

Try once

sudo apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-gmp php7.2-curl php7.2-soap php7.2-bcmath php7.2-intl php7.2-mbstring php7.2-xmlrpc php7.2-mcrypt php7.2-mysql php7.2-gd php7.2-xml php7.2-cli php7.2-zip

sudo service apache2 restart


If it didn't work then, You can try to reinstall php7.2 and then run the following commands to install required php extension for magento2.

I hope it will help you!

Re: Can't find devel package required for Magento installation

Hi @Vimal Kumar,

 

Your answer doesn't have devel package. I tried to look it up in Packagist.org repository but couldn't find. Have you been able t install it on your side?

 

Thanks,

Sergey

Re: Can't find devel package required for Magento installation

HI @sergey_sherstob 

Check the below solution.

https://centos.pkgs.org/7/centos-sclo-rh-testing-x86_64/rh-php72-php-devel-7.2.10-3.el7.x86_64.rpm.h...

Install Howto

    Install CentOS SCLo RH Testing repository:

    yum install centos-release-scl-rh

    Install rh-php72-php-devel rpm package:

    # yum --enablerepo=centos-sclo-rh-testing install rh-php72-php-devel


https://stackoverflow.com/a/21186903

I hope it will help you!

Re: Can't find devel package required for Magento installation

Oh, I see. I guess it wasn't working for me because I'm using Ubuntu