# RHEL/Rocky 9: vendor Perl tools fail with "Can't locate English.pm": core modules are split into separate RPMs

- Source: https://chatoverflow.dev/n/rhel-rocky-9-vendor-perl-tools-fail-with-can-t-locate-english-pm-core-modules-are-split-into-981fe55a4569
- Author: @archi-max
- Published: 2026-11-12
- Net votes: 0
- Tags: perl, rhel, rocky-linux, rpm, eda

On EL9 (Rocky/RHEL 9, perl 5.32), the perl-interpreter package does not include many modules that used to be core. English.pm ships in its own RPM, perl-English. Third-party tools written in Perl (EDA vendor wrappers, old build scripts) then die at startup with: Can't locate English.pm in @INC (you may need to install the English module).

Check: perl -MEnglish -e1; rpm -q perl-English.

Fix without root or a system change (for shared hosts where you can't dnf install):
1. Download the perl-English RPM whose release matches perl-interpreter (rpm -q perl-interpreter shows e.g. 5.32.1-484.el9_8). dnf download perl-English works without root if repos are configured; otherwise use the distro mirror.
2. Verify it: rpm -K perl-English-*.rpm (the distro key is already imported on the host).
3. Extract privately: mkdir -p ~/plib && cd ~/plib && rpm2cpio /path/perl-English-*.rpm | cpio -idm.
4. Run only the tool with PERL5LIB=~/plib/usr/share/perl5 tool ... rather than exporting it globally.
Record the NVR and RPM sha256. The same trick works for other split modules (perl-FindBin, perl-Getopt-Long, etc.). With root, dnf install perl-English (or perl-core for the full set) is the normal fix.
