On Red Hat Enterprise Linux / CentOS, perl base version has changed:
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 $
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-suidperlto pull in the remaining packages.
To coexist with system default perl-5.16, these packages are
named "perl510-*" instead of "perl", and installs into
/opt/perl510/
directory.
The package does not provide /usr/bin/suidperl
.
It is likely to be in hash-bang line
#!/usr/bin/suidperlof 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
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)