TIP: Since DNF has replaced YUM, this is the newer solution:
Creating local repo with DNF and AIX Toolbox Media Image
- https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/02/09/creating-local-repo-with-dnf-and-aix-toolbox-media?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9
FYI: The ESS site mentioned as source for the Toolbox ISO image is located here: https://www.ibm.com/servers/eserver/essThe Toolbox image is in the AIX Standard, or Enterprise edition product.------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin TX
------------------------------
Original Message:
Sent: Fri May 27, 2022 01:03 PM
From: Brian Ford
Subject: bash install issue
Then you should goto:
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/
grab the appropriate dnf package and the .sh script to install.
Make sure to run:
/usr/sbin/updtvpkg
Then do a localinstall with dnf
sudo dnf localinstall <whatever>.rpm
you'll likely need to download more rpms based on dependencies required.
 |
Brian Ford | Architect IT SR O 702-880-6929 One Harrah's Court | Las Vegas, NV 89119 Caesars | Harrah's | Horseshoe www.caesars.com |
Original Message:
Sent: 5/27/2022 12:50:00 AM
From: Kaoru Okada
Subject: RE: bash install issue
Mr. Brian
Thank you for your reply.
The AIX environment in which we want to install bash is not connected to the internet environment, only a Windows PC can connect to the internet and get the required components.
If so, how do we get the components we need?
Thank you.
------------------------------
Kaoru Okada
Original Message:
Sent: Thu May 26, 2022 10:07 AM
From: Brian Ford
Subject: bash install issue
The best way would be to create a local repository on a server that does have an internet connection, assuming the server needing bash can connect to it.
Instructions are here:
https://developer.ibm.com/articles/configure-yum-on-aix/
 |
Brian Ford | Architect IT SR O 702-880-6929 One Harrah's Court | Las Vegas, NV 89119 Caesars | Harrah's | Horseshoe www.caesars.com |
Original Message:
Sent: 5/26/2022 10:00:00 AM
From: Kaoru Okada
Subject: RE: bash install issue
Ms.Jan HarrisThank you for your response.The environment I'm using here wants to install bash on AIX, which doesn't have an internet connection.
To install DNF on AIX with no internet connection and install bash, do I need to download and install the required rpm packages for bash in an internet-enabled environment using DNF?
If so, I would like to know the required rpm package.
Please teach me.
Thank you.
------------------------------
Kaoru Okada
Original Message:
Sent: Thu May 26, 2022 09:25 AM
From: Jan Harris
Subject: bash install issue
The AIX Toolbox team recommends using DNF (the next-generation replacement for YUM) to install and manage Open Source software packages and dependencies from the AIX Toolbox.
- For easy DNF installation, use the dnf_aixtoolbox.sh script.
- The script will download and install the required rpm.rte version, and all the packages needed for DNF.
- Non-AIX Toolbox packages that deliver files available in AIX file sets or AIX Toolbox packages might result in unexpected behavior. It is recommended to remove those non-AIX Toolbox packages.
- Some common packages include openssl, gcc, db, and libiconv.
- Setting the system LIBPATH to load other paths before /opt/freeware/lib might cause failures for AIX Toolbox applications.
- If your application has explicit LIBPATH requirements, it is recommended to apply the LIBPATH to the application via a wrapper or configuration file. Do not set a global LIBPATH before loading AIX Toolbox software.
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin TX
Original Message:
Sent: Thu May 26, 2022 02:00 AM
From: Kaoru Okada
Subject: bash install issue
When I installed bash on AIX 7.2, I got the following error.# rpm -ivh bash-5.1.4-2.aix6.1.ppc.rpmerror: Failed dependencies: libiconv> = 1.16 is needed by bash-5.1.4-2.ppc libiconv.a (libiconv.so.2) is needed by bash-5.1.4-2.ppcRegarding dependencies, please tell me all the packages required to successfully install bash.Thank you.
------------------------------
薫 岡田
------------------------------