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.  How to install "expect" for AIX 6.1

    Posted Mon August 27, 2018 09:17 PM

    Originally posted by: lyszlyly


    There are many dependence requirement when install the package.

    Do i need to install the package one by one? Is there any other way to install the expect?

    {gct6d101:root:/home/dz993507} # rpm --test -ivh expect-5.45-3.aix6.1.ppc.rpm

    error: failed dependencies:

        tcl >= 8.6.6-1 is needed by expect-5.45-3

        tk >= 8.6.6-1 is needed by expect-5.45-3

        libgcc_s.a(shr.o) is needed by expect-5.45-3

        libtcl8.6.so is needed by expect-5.45-3

    {gct6d101:root:/home/dz993507} # rpm --test -ivh expect-5.45-3.aix6.1.ppc.rpm libgcc-6.3.0-1.aix6.1.ppc.rpm tcl-8.6.6-2.aix6.1.ppc.rpm tk-8.6.6-1.aix6.1.ppc.rpm

    error: failed dependencies:

        fontconfig >= 2.10.2-1 is needed by tk-8.6.6-1

        libXft >= 2.3.2-1 is needed by tk-8.6.6-1

        libXft.a(libXft.so.2) is needed by tk-8.6.6-1

        libfontconfig.a(libfontconfig.so.1) is needed by tk-8.6.6-1

    {gct6d101:root:/home/dz993507} # rpm -ivh --test fontconfig-2.11.95-3.aix6.1.ppc.rpm libXft-2.3.2-4waixX11.aix6.1.ppc.rpm

    error: failed dependencies:

        freetype2 >= 2.0.9 is needed by fontconfig-2.11.95-3

        expat is needed by fontconfig-2.11.95-3

        libexpat.a(libexpat.so.1) is needed by fontconfig-2.11.95-3

        libfreetype.a(libfreetype.so.6) is needed by fontconfig-2.11.95-3

        libXrender >= 0.9.5 is needed by libXft-2.3.2-4waixX11

        freetype2 >= 2.3.5 is needed by libXft-2.3.2-4waixX11

        libXrender.a(libXrender.so.1) is needed by libXft-2.3.2-4waixX11

        libfreetype.a(libfreetype.so.6) is needed by libXft-2.3.2-4waixX11

     

    {gct6d101:root:/} # lppchk -vm3

    {gct6d101:root:/} # oslevel -r

    6100-04

    {gct6d101:root:/} # oslevel -rq |head -1

    Known Recommended Maintenance Levels

    ------------------------------------

    6100-04

    {gct6d101:root:/} # oslevel -rl 6100-04

    {gct6d101:root:/} # oslevel -s

    6100-04-03-1009

    {gct6d101:root:/} # oslevel -sq |head -1

    Known Service Packs

    -------------------

    6100-04-03-1009

    {gct6d101:root:/} # oslevel -sl 6100-04-03-1009

    {gct6d101:root:/} # lslpp -l |grep rpm

     rpm.rte          3.0.5.49 COMMITTED RPM Package Manager

     rpm.rte          3.0.5.49 COMMITTED RPM Package Manager



  • 2.  Re: How to install "expect" for AIX 6.1

    Posted Tue August 28, 2018 10:35 AM

    Originally posted by: AyappanP


    YUM is the one which you need. Get yum.sh script as mentioned it here --> https://www.ibm.com/developerworks/aix/library/aix-toolbox/alpha.html



  • 3.  Re: How to install "expect" for AIX 6.1

    Posted Tue August 28, 2018 11:04 PM

    Originally posted by: lyszlyly


    Thanks for your reply.

    This server cannot access the internet because the firewall setting.

    Is there other way for installation.



  • 4.  Re: How to install "expect" for AIX 6.1

    Posted Wed August 29, 2018 12:02 AM

    Originally posted by: sanket


     

    You can setup a local YUM repositories from the AIX Toolbox RPMs 

    Or if you have proxy server then you can use that to access repositories from YUM.

     

    These are some basic dependencies those are needed for most of the packages because of libraries. 

    Once they are installed other packages will not need those many dependencies.