perl-5.10 RPM package for CentOS 7 / RHEL 7

On Red Hat Enterprise Linux / CentOS, perl base version has changed:

As a side effect, suidperl was removed, which was removed in upstream perl-5.12 (see perl5120delta(1)).

The package provided on this page is a recompile of perl-5.10 package to run on CentOS 7. You will have the deprecated suidperl functionality. It will be handy to run scripts which was running on CentOS 6 migrate to CentOS 7.

$Keywords: perl-5.10 CentOS 7 RHEL 7 el7 rpm suidperl bison-2.4 $


Installation

The packages are located below repo/RPMS/ directory. You can browse and download and install the individual .rpm files, but this could be very tedious due to dependency resolution.

So, the recommended way is to add the repository to yum.

Download perl510.repo and drop it into /etc/yum.repos.d/. "perl510" repository will becomes available, so you will just invoke

	# yum install perl510-suidperl
to pull in the remaining packages.

Installed location

To coexist with system default perl-5.16, these packages are named "perl510-*" instead of "perl", and installs into /opt/perl510/ directory.

Symlink if needed

The package does not provide /usr/bin/suidperl . It is likely to be in hash-bang line

	#!/usr/bin/suidperl
of the existing scripts. If you do not want to update the line to #!/opt/perl510/bin/suidperl, create a symlink by yourself:
	lrwxrwxrwx. 1 root root 30 Nov 14 19:17 /usr/bin/suidperl -> ../../opt/perl510/bin/suidperl

bison-2.4 for CentOS 7

The repository also includes bison-2.4 bison24 package, needed to compile perl-5.10 on CentOS 7. (you don't need it unless you want to build the perl510 package by yourself)


kabe.sra-tohoku.co.jp