top of page
Recent Posts

How To Configure YUM in AIX

Updated: Oct 3, 2021

We might need to install some RPMs packages on AIX Operating System, and yum will be the best tools to install RPMs rather than use the rpm command.

All the RPMs for AIX are available at:'s install yum on AIX.

Step1: To download all the needed RPMs and copy them to AIX

# mkdir /tmp/RPM
# cd /tmp/RPM
# scp root@ . 
# tar -xv yum_bundle.tar

Step2: To Install RPMs on the AIX System

# cd /tmp/RPM
# rpm -ivh ca-certificates-2016.10.7-2.aix6.1.ppc.rpm
# rpm -ivh curl-7.52.1-1.aix6.1.ppc.rpm
# rpm -ivh db-4.8.24-3.aix6.1.ppc.rpm
# rpm -ivh gdbm-1.8.3-5.aix5.2.ppc.rpm
# rpm -ivh gettext-0.19.7-1.aix6.1.ppc.rpm
# rpm -ivh glib2-2.14.6-2.aix5.2.ppc.rpm
# rpm -ivh readline-6.1-2.aix6.1.ppc.rpm
# rpm -ivh sqlite-3.15.2-1.aix6.1.ppc.rpm
# rpm -ivh python-2.7.10-1.aix6.1.ppc.rpm
# rpm -ivh python-devel-2.7.10-1.aix6.1.ppc.rpm
# rpm -ivh python-iniparse-0.4-1.aix6.1.noarch.rpm
# rpm -ivh python-pycurl-7.19.3-1.aix6.1.ppc.rpm
# rpm -ivh python-tools-2.7.10-1.aix6.1.ppc.rpm
# rpm -ivh python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm
# rpm -ivh pysqlite-1.1.7-2.aix6.1.ppc.rpm
# rpm -ivh yum-metadata-parser-1.1.4-2.aix6.1.ppc.rpm
# rpm -ivh yum-3.4.3-5.aix6.1.noarch.rpm

Step3: The default YUM configuration file /opt/freeware/etc/yum/yum.conf is installed with YUM.

# cat  /opt/freeware/etc/yum/yum.conf 

 name=AIX generic repository

 name=AIX noarch repository

 name=AIX 6.1 specific repository

 name=AIX 7.1 specific repository

 name=AIX 7.2 specific repository

Step4: Verify the YUM to install some tools

# yum install gcc  


  1. db4 error(-30971) DB_VERSION_MISMATCH

error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db4 - (-30971)

Fix the Berkeley Database "version mismatch" errors:

# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb

2. The old version of RPM that is shipped by default with AIX

# lslpp -L | grep rpm.rte
rpm.rte    C    F    RPM Package Manager

Download and install the latest rpm.rte

# wget --no-check-certificate
# installp -aXYgd . rpm.rte

Hope this doc will help.

59 views0 comments

Recent Posts

See All


Log In to Connect With Members
View and follow other members, leave comments & more.
bottom of page