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.
Original Message:
Sent: 10/18/2022 3:26:00 AM
From: SANGAMESH MALLAYYA
Subject: RE: Installing dnf without Internet connection?
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
------------------------------
Original Message:
Sent: Mon October 17, 2022 04:47 PM
From: Mi Wang
Subject: Installing dnf without Internet connection?
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
------------------------------