AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  perl.rte update on VIOS/AIX LPAR from 5.28 to 5.34+

    Posted Fri September 15, 2023 02:44 AM

    Hi friends,

    I am trying to upgrade perl.rt# lslpp -L | grep -i perl
     How can I do this?

    # lslpp -L | grep -i perl
      perl.libext                2.4.5.0    C     F    Perl Library Extensions
      perl.rte                  5.28.1.5    C     F    Perl Version 5 Runtime
      perl                      5.34.1-1    C     R    The Perl programming language.

    It is safe to update perl runtime from 5.28.1.5 to 5.34.1?

    Can you provide some information on how to do this? I cannot find the perl.rte fileset.



    ------------------------------
    JC Muro
    ------------------------------



  • 2.  RE: perl.rte update on VIOS/AIX LPAR from 5.28 to 5.34+

    Posted Fri September 15, 2023 07:39 AM

    Hi JC,

    Since you already have the perl-5.34.1 rpm installed can it be used for your application instead of the perl.rte fileset ?

    It's recommended to use perl rpm for non OS specific application https://www.ibm.com/support/pages/aix-perl-updates-and-support-perlrte

    perl.libext is built with specific version of perl header files.

    For example. perl.libext -2.4.5.0 built with perl-5.28.1.

    So, if perl.rte and perl.libext and not in sync some of the OS specific commands like wpar might fail.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: perl.rte update on VIOS/AIX LPAR from 5.28 to 5.34+

    Posted Fri September 15, 2023 08:01 AM

    Thank you for your response Sangamesh.

    This is a AIX VIOS LPAR. We do not have any business application running on this machine. We only use the LPAR for VIO purposes. I am not expert on this but when you say that I already have perl 5.34.1 what does it means? I see that one is the Perl Version 5 Runtime and the other one is The Perl Programming Language. 

    To me sounds like are different.

    There is document:

    https://www.ibm.com/support/pages/node/6456973

    It tells that it is OK to update perl and takes me to the AIX toolbox website to download the RPM, which I did and installed but again it is the one I showed you. It is not the perl.rte

    Thank you in advance for any information you can provide.



    ------------------------------
    JC Muro
    ------------------------------



  • 4.  RE: perl.rte update on VIOS/AIX LPAR from 5.28 to 5.34+

    Posted Fri September 15, 2023 09:39 AM

    AIX native fileset is lpp. And Toolbox file format is rpm. 
    lslpp command has the ability to show the installed rpms also (along with lpp filesets). 

    perl                      5.34.1-1    C     R    The Perl programming language.

    The "R" refers to rpm here. 

    The perl.rte is a lpp fileset and part of AIX base OS, whereas perl (R) is from Toolbox. Both are perl main package only. 



    ------------------------------
    Ayappan P
    ------------------------------



  • 5.  RE: perl.rte update on VIOS/AIX LPAR from 5.28 to 5.34+

    Posted Fri September 15, 2023 11:16 AM

    Thank you Ayappan for the information.

    So I have the 'native' AIX perl and also the upgraded version from the toolbox. I cannot get the new version of the fileset perl.rte i am only able to install the RPM perl 5.34

    I am also thinking that I cannot remove the fileset perl.rte because will break something within AIX?

    I do not what options do I have at this time.



    ------------------------------
    JC Muro
    ------------------------------