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.  AIX Packages - Wget & Curl

    Posted Fri May 31, 2019 06:16 PM

    Originally posted by: RandallNA


    Hi All,

    We are trying to install WGET & CURL on some Prod servers we have, we understand these are open source, but we would like to know if there is a secure place to download the dependencies, maybe approved by IBM? We downloaded the packages from developerworks, but as you can see below, there are a lot of dependencies we need to install, or, is there a package we can download that includes everything?

    List of dependencies for WGET (taken from the downloaded files):

    # rpm -qpR /tmp/pavani/wget-1.19.2-1.aix6.1.ppc.rpm
    /sbin/install-info
    /bin/sh
    libc.a(shr.o)
    libcrypto.a(libcrypto.so)
    libintl.a(libintl.so.8)
    libpthreads.a(shr_xpg5.o)
    libssl.a(libssl.so)
    libz.a(libz.so.1)
    #

    List of dependencies for CURL (taken from the downloaded files):

    # rpm -qpR /tmp/pavani/curl-7.64.0-1.aix6.1.ppc.rpm
    libssh2 >= 1.8.0-3
    ca-certificates >= 2016.10.7
    libgcc >= 6.3.0-1
    openldap >= 2.4.45-1
    libc.a(shr.o)
    libc.a(shr_64.o)
    libcrypto.a(libcrypto.so.1.0.2)
    libcurl.a(libcurl.so.4)
    libgcc_s.a(shr.o)
    liblber.a(liblber-2.4.so.2)
    libldap.a(libldap-2.4.so.2)
    libpthread.a(shr_xpg5.o)
    libpthreads.a(shr_xpg5.o)
    libpthreads.a(shr_xpg5_64.o)
    libs.a(shr.o)
    libssh2.a(libssh2.so.1)
    libssl.a(libssl.so.1.0.2)
    libz.a(libz.so.1)
    #

     

    Thanks in advance for your help ..!       



  • 2.  Re: AIX Packages - Wget & Curl

    Posted Mon June 03, 2019 04:35 AM

    Originally posted by: sangameshm


    I am assuming curl and wget were downloaded from AIX Toolbox https://www.ibm.com/developerworks/aix/library/aix-toolbox/alpha.html

    Better approach for installing dependencies is through YUM.

    Have a look at this article on how to setup and use YUM on AIX https://developer.ibm.com/articles/configure-yum-on-aix/

    Without YUM then individual packages needs to be downloaded manually.

     

    Packages which are available on AIX Toolbox is reviewed and approved by legal team.

     



  • 3.  Re: AIX Packages - Wget & Curl

    Posted Mon June 03, 2019 02:28 PM

    Originally posted by: RandallNA


    Thanks for your answer, sadly, those servers are not facing the internet (and can't), so I guess I need to download files manually.



  • 4.  Re: AIX Packages - Wget & Curl

    Posted Mon July 08, 2019 10:23 AM

    Originally posted by: sanket


    Here is an article on "How to configure local yum repo"

    https://developer.ibm.com/articles/configure-yum-on-aix/

     



  • 5.  Re: AIX Packages - Wget & Curl

    Posted Tue June 04, 2019 10:15 AM

    Originally posted by: RFluth


    I would suggest that you setup a local repository server and either download directly onto the server a copy of the aixtoolbox using a tool like lftp (lots of examples available online) or download and push a copy of the AIX Toolbox to that repository server.  Then you just setup a web server to share out the repository, again lots of examples of setting up your own YUM repository server available online.  Once you have your server setup, you can either update it using a cronjob, or manually if you want greater control over versioning.



  • 6.  Re: AIX Packages - Wget & Curl

    Posted Fri July 12, 2019 12:43 PM

    Originally posted by: Edward Davignon


    Is lftp available on AIX Toolbox?  I am seeing IBM blogs referring to it, but I only see it on Michael Perzl's site.



  • 7.  Re: AIX Packages - Wget & Curl

    Posted Mon July 15, 2019 11:24 AM

    Originally posted by: AyappanP


    No. But we are considering this package in the near future. 



  • 8.  Re: AIX Packages - Wget & Curl

    Posted Tue July 16, 2019 10:05 AM

    Originally posted by: Edward Davignon


    AyappanP, thank you for considering lftp



  • 9.  Re: AIX Packages - Wget & Curl

    Posted Mon July 15, 2019 03:03 PM

    Originally posted by: Edward Davignon


    For details on libssl.a and libcrypto.a dependencies, including running updtvpkg after installing the openssl installp packages, see: Openssl for AIX Toolbox packages, at <https://www.ibm.com/developerworks/community/forums/html/topic?id=96017324-8232-4242-9276-cd32f5d04486&ps=25>