2

When I do yum installed | grep pcre I get:

pcre.x86_64           8.32-15-el7_2.1     @updates
pcre-devel.x86_64     8.32-15-el7_2.1     @updates
  • How do I upgrade these to the most recent versions (currently 8.40)?
  • Do I have to uninstall the existing packages first (I tried doing yum remove pcre and it looked like it was going to uninstall a million packages so I cancelled it)?

  • Can a precompiled repo be used so I can continue using yum update or do I need to compile it?

  • I saw a PCRE install via compile tutorial but am not sure if this is correct for CentOS.

Reason Upgrade Needed: My CMS, TYPO3 8.7.2, requires a minimum PCRE 8.38.

Note: I'm hosting this myself on a dedicated server I own so don't have anyone to lean on.

2 Answers2

0

How do I upgrade these to the most recent versions (currently 8.40)?

First, ask yourself why do you need an update, what features can you not get? As to how, your next questions provide the answers.

Do I have to uninstall the existing packages first (I tried doing yum remove pcre and it looked like it was going to uninstall a million packages so I cancelled it)?

Suggest use precompiled packages with yum and carefully examining the upgrade transaction before applying.

Having both the package and the source install will complicate things.

Consider rebuilding with a distro that maintains current versions like Fedora. It may be exhausting to install and test constant updates, but at least you do not have to hunt down or compile a recent package.

Can a precompiled repo be used so I can continue using yum update or do I need to compile it?

You may choose either. The package way is easiest when you find a repository that has what you want. The compile method requires you to install build dependencies and make it co-exist with any packages installed.

I saw a PCRE install via compile tutorial but am not sure if this is correct for CentOS.

Linux From Scratch scripts assume their distribution. They won't tell you which EL packages to install to make things happen, because they are not Red Hat based at all.

Also, a more through study of LFS will allow you to appreciate the differences between distributions.

John Mahowald
  • 36,071
0

god-is-love mentions CentOS 7.3. I needed the update for the CSM Typo3 v8.7.2 on a Cloudlinux 7.3 (Centos 7.3) cPanel server, and CL provided me a beta update of PCRE 8.40. If you're using CloudLinux as well you can ask CL support for a yum update string. I am running 8.40 now.