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.  Installing dnf without Internet connection?

    Posted Mon October 17, 2022 04:48 PM
    Hi,

    We are trying to install dnf on our AIX servers which doesn't have Internet connection. It seems the installer always try to get the dnf_bundle_aix_71_72.tar file through internet, even though we downloaded the file and put it under the same folder from which we launch the installer. I am wondering if there is a way to tell the installer to find the file locally, e.g.: by setting LIBPATH parameter?

    Thanks in advance

    Mi


    root [xxxxxx] /tmp: ./dnf_aixtoolbox.sh -d
    Attempting download of dnf_bundle_aix_71_72.tar ...
    lwp-download: 500 Can't connect to public.dhe.ibm.com:80 (Connection timed out)
    Failed to download dnf_bundle_aix_71_72.tar



    ------------------------------
    Mi Wang
    ------------------------------


  • 2.  RE: Installing dnf without Internet connection?

    Posted Tue October 18, 2022 03:26 AM
    Hi Mi Wang,

    You can download the bundle manually from https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/
    extract the tar file and run the install_dnf.sh script similar to the way dnf_aixtoolbox.sh is run.
    install_dnf.sh script looks for rpms extracted from the tar file and setup the DNF.

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



  • 3.  RE: Installing dnf without Internet connection?

    Posted Tue March 12, 2024 05:51 PM
    Mi Wang,

    I can confirm that using the tar file works just fine. That's actually the primary method I use for one customer whose systems are air-gapped.

    We actually use the Ansible role to install DNF, but point at a pre-downloaded tar file.

    -- 
    Stephen L. Ulmer
    Enterprise Architect
    Mainline Information Systems





    This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message.





  • 4.  RE: Installing dnf without Internet connection?

    Posted Mon March 11, 2024 03:11 AM

    Installing DNF without an internet connection can be a bit tricky, as it relies on resolving dependencies which are usually fetched from online repositories. However, you can still manage to install DNF offline by manually providing the necessary RPM packages.Download the DNF RPM package and its dependencies from a trusted source using another computer with internet access.



    ------------------------------
    jeremy michels
    ------------------------------