If you're using yum or dnf to install packages then these come from repositories which can reside either locally or on a remote server. By default dnf sets up for accessing IBM's repositories. You can build them locally. If you have access to IBM ESS then you can download the full Linux Toolbox as an ISO. This have already prepared repodata for each repository (noarch, ppc, ppc-x.x, etc). The alternative is to use the rpm command and manually resolve the dependencies. I just did that yesterday for installing python 3.7 and only needed 10 additional packages as the target server already had some dependencies installed.
Edit:
this page on using yum on AIX should still be relevant.
------------------------------
Zaki Jääskeläinen
------------------------------
Original Message:
Sent: Wed October 19, 2022 07:20 PM
From: Mi Wang
Subject: Can we install Python v3.9.6 without internet connection?
Hi,
We recently installed dnf and found it is bundled with python 3.7.9, But our users need python v3.9.6. When we tried to install Python v3.9.6 rpm, dnf asked for internet connection to retrieve repo information. Our server doesn't have internet connection due to security concern. Is there a way we can get around this? (I thought after the dnf installation, the repository will be created automatically)
Thanks
root [xxxxxx] /tmp/new-libs-py3.9: dnf install python3.9-3.9.6-1.aix7.1.ppc.rpm
AIX generic reposito [ === ] --- B/s | 0 B --:-- ETA
------------------------------
Mi Wang
------------------------------