Current realeases of openssh, samba, ipfilter, httpd, openssl, perl, rsyslog….
https://www-01.ibm.com/marketing/iwm/iwm/web/preLogin.do?source=aixbp&lang=en_US
Current realeases of python, ruby, yum, cups (for AIX)…
http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS
From most interesting to …
http://www.perzl.org/ ftp://www.oss4aix.org/everything/RPMS/
http://download.aixtools.net/aixtools/
http://gnome.bullfreeware.com/aixtoolbox/RPMS/ppc/
http://www.bullfreeware.com/toolbox.php
http://www.zipworld.com.au/~dtucker/openssh/
https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?source=aixbp
http://www.guntram.de/nagios/nagios.html
Example of download using WGET recursively on 3 level
wget -r -l3 --no-parent https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/
Example of download using LFTP
lftp -c "open http://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/; mirror"
Download the yum tar package from:
ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/yum_bundle_v2.tar
After untar start to install RPMs:
[root@nim01]/export/ibm_rpm# rpm -Uhv gdbm-1.8.3-5.aix5.2.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv readline-6.1-2.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv db-4.8.24-3.aix6.1.ppc.rpm
Install openssl RPM from perzl.org:
[root@nim01]/export/perzl_rpm# rpm -Uhv ../perzl_rpm/openssl\-1.0.2j\-1.aix5.1.ppc.rpm
If python install failed, then refresh the RPM database:
[root@nim01]/export/ibm_rpm# rpm -Uhv python-2.7.10-1.aix6.1.ppc.rpm error: failed dependencies: libcrypto.a(libcrypto.so) is needed by python-2.7.10-1 libssl.a(libssl.so) is needed by python-2.7.10-1 [root@nim01]/export/ibm_rpm# updtvpkg Please wait... [root@nim01]/export/ibm_rpm# rpm -Uhv python-2.7.10-1.aix6.1.ppc.rpm
Now continue:
[root@nim01]/export/ibm_rpm# rpm -Uhv sqlite-3.15.2-1.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv pysqlite-1.1.7-2.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv python-iniparse-0.4-1.aix6.1.noarch.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv ca-certificates-2016.10.7-1.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv curl-7.52.1-1.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv python-pycurl-7.19.3-1.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv glib2-2.14.6-2.aix5.2.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv yum-metadata-parser-1.1.4-2.aix6.1.ppc.rpm
Now I've the wrong version of rpm.rte AIX package
[root@nim01]/export/ibm_rpm# rpm -Uhv yum-3.4.3-4.aix6.1.noarch.rpm cannot get shared lock on database rpmQuery: rpmdbOpen() failed cannot get shared lock on database rpmQuery: rpmdbOpen() failed You doesn't seems to have rpm-4.9.1.3 installed. Please install either rpm.rte 4.9.1.3 from ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/ or else install the rpm-4.9.1.3 rpm from http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html#R execution of yum-3.4.3-4 script failed, exit status 1 [root@nim01]/export/ibm_rpm# lslpp -Lc | grep rpm.rte rpm.rte:rpm.rte:3.0.5.52: : :C: :RPM Package Manager: : : : : : :1:0:/:
Download and install the right rpm.rte package, and then retry the installation of yum
[root@nim01]/export/perzl_rpm# rpm -Uhv createrepo\-0.10.3\-2.aix6.1.noarch.rpm error: failed dependencies: libxml2-python >= 2.7.8 is needed by createrepo-0.10.3-2 yum >= 3.2.29 is needed by createrepo-0.10.3-2 python-deltarpm is needed by createrepo-0.10.3-2 xz is needed by createrepo-0.10.3-2 xz-libs is needed by createrepo-0.10.3-2 [root@nim01]/export/perzl_rpm# rpm -Uhv xz-libs-5.2.2-1.aix5.1.ppc.rpm [root@nim01]/export/perzl_rpm# rpm -Uhv xz-5.2.2-1.aix5.1.ppc.rpm [root@nim01]/export/perzl_rpm# rpm -Uhv zlib-1.2.8-1.aix5.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv libxml2-2.9.4-1.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv libxml2-python-2.9.4-1.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv deltarpm-3.6-1.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv python-deltarpm-3.6-1.aix6.1.ppc.rpm [root@nim01]/export/ibm_rpm# rpm -Uhv createrepo-0.10.3-2.aix6.1.noarch.rpm
To include recent repository changes we recommend you to update yum to yum-3.4.3-4 or manually need to add two extra repository to your existing /opt/freeware/etc/yum/yum.conf file.
1. Add noarch
[AIX_Toolbox_noarch] name=AIX noarch repository baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/ enabled=1 gpgcheck=0
2. Add either ppc-6.1, ppc-7.1, ppc-7.2 depending on your AIX version.
6.1 repository is. Replace ppc-6.1 with ppc-7.1 or ppc-7.2 if your AIX version 7.1 or 7.2.
[AIX_Toolbox_noarch] name=AIX noarch repository baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-6.1/ enabled=1 gpgcheck=0
Remove multiple versions of RPM packages, this script from yum-utils put the 2 latest versions of RPM package into /path/to/repo
# repomanage --keep=2 --old /path/to/repo) # createrepo /path/to/repo
After the new install of rpm.rte we might see the error like this
"error: incorrect format: unknown tag" if AIX level is not same as or higher than AIX 61 TL9 SP6 AIX 71 TL4 AIX 72
This error is from the lslpp command due to the INSTALLPREFIX tag deprecation and use of new INSTPREFIXES tag in newer rpm. This issue has been addressed and fixed in AIX version mentioned above.
http://chmod666.org/index.php/enhance-your-aix-packages-management-with-yum-and-nim-over-http/