To install the RPM package, download the rpm-4.2.pkgadd.tar package file and install as follows (assumes the file was downloaded to the
# cd /tmp/rpm
# tar xf rpm-4.2.pkgadd.tar
# pkgadd -d . TWWrpm42c TWWrpm42m TWWrpm42u
Once the RPM package has been installed, the database must be initialized. Either the default RPM database or a custom RPM database can be used. To initialize the database (where "
/opt/TWWfsw/.rpmdb" might be the custom database path):
# [mkdir /opt/TWWfsw/.rpmdb]
# /opt/TWWfsw/bin/rpm [--dbpath /opt/TWWfsw/.rpmdb] --initdb