Perl Update

General support questions
Post Reply
xo)mora
Posts: 51
Joined: 2017/01/13 20:52:59

Perl Update

Post by xo)mora » 2019/11/29 20:19:54

Hi, I'm very obfuscate becuse I'm programming in Perl, but I had been some problems because I excuted:
# perl -v

This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi

After that, I updated the Perl Version to perl-5.26.1, but I had been some problems because Perl didn't find the Perl PATH, so I needed change the variable PATH located in the file .bashrc file, but this was a bad election because the program lost another references . Please, will You tell me the correct form for update Perl in Centos 7? without change the PATH environment variable for run programs.

Thanks a lot.
Regards

Xóchitl

User avatar
TrevorH
Forum Moderator
Posts: 27156
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Perl Update

Post by TrevorH » 2019/11/29 20:53:20

We do not support replacing components that are shipped by CentOS. We ship perl 5.16 on CentOS 7 and always have and will do so for the lifetime of CentOS 7.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

xo)mora
Posts: 51
Joined: 2017/01/13 20:52:59

Re: Perl Update

Post by xo)mora » 2019/11/29 21:03:15

Thanks a lot.

Regards

User avatar
jlehtone
Posts: 2432
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Perl Update

Post by jlehtone » 2019/11/29 23:12:31

You can't "update" system components to non-system versions, but you might be able to "install on side" with Software Collections:
http://linuxdesktops.soton.ac.uk/softwa ... tions.html
https://www.softwarecollections.org/en/ ... h-perl526/

Post Reply

Return to “CentOS 7 - General Support”