How to Install re2c on Linux Centos 7

6.6k views Asked by At

I was trying to install the Mailparse PECL extension with WHM/cPanel and it kept failing because re2c was missing.

1

There are 1 answers

0
Jonathan Roy On
  1. Download the RPM from EPEL (you can use cURL): http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/r/re2c-0.14.3-2.el7.x86_64.rpm

curl http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/r/re2c-0.14.3-2.el7.x86_64.rpm --output re2c-0.14.3-2.el7.x86_64.rpm

  1. Install the RPM

rpm -Uvh re2c-0.14.3-2.el7.x86_64.rpm

  1. That's it.