Perl 5.26 : Install2021/04/12 |
Install Perl 5.26.
|
|
[1] | Confirm the available version of Perl and Install it. |
[root@dlp ~]# dnf module list perl CentOS Stream 8 - AppStream Name Stream Profiles Summary perl 5.24 [e] common [d], minimal Practical Extraction and Report Language perl 5.26 [d] common [d], minimal Practical Extraction and Report Language perl 5.30 common [d], minimal Practical Extraction and Report Language Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled # install Perl 5.26 [root@dlp ~]# dnf module -y install perl:5.26/common Dependencies resolved. =============================================================================================== Package Arch Version Repo Size =============================================================================================== Installing group/module packages: perl x86_64 4:5.26.3-419.el8 appstream 73 k Installing dependencies: dwz x86_64 0.12-9.el8 appstream 109 k efi-srpm-macros noarch 3-3.el8 appstream 22 k ghc-srpm-macros noarch 1.4.2-7.el8 appstream 9.3 k go-srpm-macros noarch 2-17.el8 appstream 13 k make x86_64 1:4.2.1-10.el8 baseos 498 k ocaml-srpm-macros noarch 5-4.el8 appstream 9.4 k openblas-srpm-macros noarch 2-2.el8 appstream 7.9 k perl-Algorithm-Diff noarch 1.1903-9.el8 baseos 52 k ..... .....[root@dlp ~]# perl -v This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi (with 55 registered patches, see perl -V for more detail) Copyright 1987-2018, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. # verify to create test script [root@dlp ~]# echo 'print "$^V\n";' > perl_test.pl [root@dlp ~]# perl perl_test.pl v5.26.3 |