Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  rsync fileset and dependencies

    Posted Fri June 21, 2024 03:20 AM

    Greetings, experts.

    I hope I can get your inputs on what fileset dependencies needed in installing rsync in an AIX 7.2. I cannot download unfortunately the complete fileset using rpm, as our AIX boxes don't have direct internet connection.

    Alternatively, can I use other package manager, let's say in a Ubuntu box, to download all the necessary files?

    Looking forward to your generous help.



    ------------------------------
    Senen Jr Dimanahan
    ------------------------------

    #AIXOpenSource


  • 2.  RE: rsync fileset and dependencies

    Posted Fri June 21, 2024 08:00 AM

    Hi Senen

    You can do it using  any one of the option mentioned below depending on the type of infrastructure support in your org.

    1. https://community.ibm.com/community/user/power/discussion/configuring-dnf-local-repositories-containing-aix-toolbox-rpm-packages-video-blog?ReturnUrl=%2fcommunity%2fuser%2fpower%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d10c1d831-47ee-4d92-a138-b03f7896f7c9
    2. https://community.ibm.com/community/user/power/discussion/configuring-dnf-local-repositories-using-aix-toolbox-media-image-video-blog?ReturnUrl=%2fcommunity%2fuser%2fpower%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d10c1d831-47ee-4d92-a138-b03f7896f7c9



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



  • 3.  RE: rsync fileset and dependencies

    Posted Fri June 21, 2024 09:13 AM

    First off, I wish IBM would publish a statically compiled LPP on the Expansion Pack because rsync is such a common request.

    If you have a Redhat system around with DNF, you can dynamically query the list of dependencies. Here is an example, though it's for 7.3.

    # % dnf repoquery --releasever aix7.3 --forcearch ppc --arch ppc --repofrom aixtoolbox,https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ --repofrom aixtoolboxno,https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/ --repofrom aixtoolboxno,https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/ --repofrom aixtoolbox73,https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/ --resolve --requires --recursive rsync-0:3.2.7-1.ppc  
    Added aixtoolbox repo from https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    Added aixtoolboxno repo from https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
    Added aixtoolbox73 repo from https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/
    aixtoolbox                                                                                                    11 kB/s | 2.7 kB     00:00    
    aixtoolbox                                                                                                   1.8 MB/s |  20 MB     00:10    
    aixtoolboxno                                                                                                  25 kB/s | 2.7 kB     00:00    
    aixtoolboxno                                                                                                 974 kB/s | 3.3 MB     00:03    
    aixtoolbox73                                                                                                  25 kB/s | 2.6 kB     00:00    
    aixtoolbox73                                                                                                 894 kB/s | 403 kB     00:00    
    Last metadata expiration check: 0:00:01 ago on Fri Jun 21 15:09:08 2024.
    bash-0:5.2.15-1.ppc
    bzip2-0:1.0.8-2.ppc
    expat-0:2.0.1-2.ppc
    gcc-1:10-2.ppc
    gcc-cpp-1:10-2.ppc
    gcc10-0:10.3.0-6.ppc
    gcc10-cpp-0:10.3.0-6.ppc
    gdb-0:7.9.1-4.ppc
    gettext-0:0.21-2.ppc
    glib2-0:2.76.3-2.ppc
    gmp-0:6.3.0-1.ppc
    info-0:7.0.2-1.ppc
    libffi-0:3.4.4-2.ppc
    libgcc-1:10-2.ppc
    libgcc10-0:10.3.0-6.ppc
    libgcc11-0:11.3.0-1.ppc
    libgcc12-0:12.3.0-1.ppc
    libgcc8-0:8.3.0-7.ppc
    libgomp-1:10-2.ppc
    libgomp10-0:10.3.0-6.ppc
    libgomp11-0:11.3.0-1.ppc
    libgomp12-0:12.3.0-1.ppc
    libgomp8-0:8.3.0-7.ppc
    libiconv-0:1.17-1.ppc
    libmpc-0:1.3.1-1.ppc
    libstdc++-1:10-2.ppc
    libstdc++10-0:10.3.0-6.ppc
    libstdc++11-0:11.3.0-1.ppc
    libstdc++12-0:12.3.0-1.ppc
    libstdc++8-0:8.3.0-7.ppc
    libtextstyle-0:0.21-2.ppc
    libunistring-0:1.1-1.ppc
    libxml2-0:2.12.6-1.ppc
    libxml2-devel-0:2.7.8-1.ppc
    lz4-0:1.9.4-1.ppc
    mpfr-0:4.2.1-1.ppc
    ncurses-0:6.4-1.ppc
    pcre-0:8.44-2.ppc
    pcre2-0:10.40-1.ppc
    readline-0:8.2-1.ppc
    sed-0:4.8-1.ppc
    xz-libs-0:5.4.3-1.ppc
    zlib-0:1.2.13-1.ppc
    zlib-devel-0:1.2.13-1.ppc
    

    You'll have to install a ridiculous 44 packages just to have rsync.

    My recommendation is that if you must have it, download the ISO/tarball from ESS, and place the files on your NIM server. Then you can try to use the list above to resolve the dependencies.



    ------------------------------
    ========================
    Russell Adams
    https://adamssystems.nl/
    ========================
    ------------------------------



  • 4.  RE: rsync fileset and dependencies

    Posted Fri June 21, 2024 10:07 AM

    I have to agree, statically compiled LPP filesets would be great, ideally for the whole IBM toolbox.



    ------------------------------
    Christian Schwabl
    ------------------------------