AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only

Build IBM AIX installp packages

By Srikanth Thanneeru posted Wed August 21, 2024 06:09 AM

  

IBM AIX uses its own packaging format known as installp for installing, uninstalling, and managing software packages. You can use the installp command to install filesets from an installation package. All the software that are part of the AIX base image are packaged in the installp format.

This tutorial describes the process of creating your own AIX installp packages. Building installp packages on AIX is a straightforward task with the help of the /usr/sbin/mkinstallp command. mkinstallp belongs to the bos.adt.insttools fileset from the bos.adt package, which is available in the AIX Base media. It is important to note that root privileges are necessary to build a package.

Build IBM AIX installp packages - IBM Developer

1 comment
13 views

Permalink

Comments

Fri August 23, 2024 12:13 PM

Thanks for sharing. I do package system customizations as BFF files today! I distribute them across systems with NIM to ensure consistency. I can use NIM tools to compare filesets and confirm everything is at the latest level.

I have mine in a GIT repo each, and place the compiled BFF's into one of our LPP sources. That means each package has it's own directory. I have a simple "make.sh" to recreate the BFF files.

#!/bin/sh -xe

echo "==== Making in $PWD"
echo "==== If build fails, this script will exit immediately"
cp -rp ./src ./build
cd ./build
mkinstallp -T ../*.template
mv ./tmp/*.bff ../
cd ..
rm -rf ./build
inutoc .