A number of open source packages have been prepared for installation on AIX using the RPM Package Manager. These packages, also known as RPMs, are available on an as-is basis for beta-level use. Should you run into difficulties of any form or have questions, please report it through AIX open source DeveloperWorks forum
Installing the RPM Package Manager
In order to install the software, you must install RPM - the RPM Package Manager. Since you can't install rpm initially with rpm, rpm is available in installp format. RPM package manager is available on base AIX or you can install the installp image of RPM, which is available from the AIX toolbox repository as installp/ppc/rpm.rte. You install rpm as root as in the following example:
installp -qacXgd rpm.rte rpm.rte
The installation will take a few minutes because it needs to gather information about the shared libraries already installed on the system.
Using the RPM Package Manager
Full information on using RPM can be found at www.rpm.org. The basic installation operations are:
- -i: install
- -e: erase
- -q: query
- --help: help
For example, if you were interested in installing the package which provides the less page program, you would access the RPM package for less (as less-374-2.aix5.1.rpm.ppc in this example), then invoke rpm:
rpm -i less-374-2.aix5.1.rpm.ppc
You can install multiple packages at one time, as in rpm -i * It is a good idea when doing that to use the verbose (-v) flag; otherwise, rpm does not give any feedback unless there are errors.
After you've installed....
It is a goal of this project for you to be able to run the open source software without modification on your AIX system. The software is installed in the default location for the software, but there are symbolic links into the normal directories so that you may begin to use the software immediately. In some cases where an open source deliverable conflicts with an AIX deliverable, the link is not available, so an alternate PATH must be used. When there are conflicts with AIX commands and libraries, the link is placed in /usr/linux. For example, you will find a link to the GNU version of sed and other basic GNU commands in /usr/linux/bin (after you've installed the RPM packages for those commands). In order to access the man pages from the toolbox, add /opt/freeware/man to your MANPATH environment variable.