

These can be downloaded from the AIX Toolbox site:

IBM provides the most widely used GNU and opensource Linux tools on AIX (like gcc, git, coreutils, perl, python, ruby, php etc.). Yum.conf file will be installed under the path /opt/freeware/etc/yum.Īdditional yum repository files can be created under the path /opt/freeware/etc/yum/repos.d. Running this script will download and install the latest rpm.rte and yum_bundle.tar. install all rpm packages contained in yum_bundle.tarĪnother way to install yum is to download yum.sh from. The command enables the rpm command to recognize that the libraries have been installed.Ģ. After you have installed the libraries, run the above command (updtvpkg). If they are not installed, use the AIX product media to install them. If the error occurs, check to see if the X11 libraries are installed in the directory /usr/lpp/X11/lib. Most likely the error occurs because the rpm command does not recognize the shared library.

In some cases you might get an error about failed dependencies when you install RPMs on AIX (for example, error: failed dependencies: libX11.a(shr4.o) is needed by tk-8.3.3-1). usr/sbin/updtvpkg enables the rpm command to recognize that the libraries have been installed Rpm -rebuilddb compress and rebuild the RPM database Rpm -Va shows which files are missing from the RPM database Rpm -ivh -force -nodeps does not check dependency (same can be done with "rpm -Uvh." for upgrade) Rpm -ivh httpd-2.2.8.aix5.1.rpm install the rpm package Rpm -qR list all dependencies on any rpm package

Rpm -qi list information on an installed rpm package Rpm -qf /usr/bin/lynx query a file to find the source rpm package Rpm -q -filesbypkg cdrecord list all the files on installed rpm package Rpm -ql shows where the files are installed (rpm -qlp. Rpm -qa shows what rpm packages are installed Without YUM thes RPM commands can be used on AIX It is a free and open source package management system, which is available on AIX. For example: OpenSSL libraries are provided by AIX in installp format, so if an RPM package depends on a specific OpenSSL version then user should make sure to keep his OpenSSL version updated. YUM doesn't recognize AIX installp dependencies. It has been rewritten to support Red Hat based Linux system, and since then it is called YUM (Yellowdog Updater Modified.) YUM under the hood depends on RPM which is a packaging standard. It had a package manager, which was called Yellowdog UPdater (YUP). Yellowdog was a Linux distribution which was based on Red Hat. YUM is package manager for RPM packages, which allows automatic updates, package and dependency management.
