less than 1 minute read

First, copy the database files from rpm. This is so you don't have to reinstall things already installed on the system.

cp /var/lib/rpm/* newprefix/

To install the rpms:
rpm --prefix $HOME/newprefix -ivh rpmbuild/RPMS/noarch/hcc-testapp-1.0-1.noarch.rpm rpmbuild/RPMS/noarch/hcc-apps-1.0-1.noarch.rpm --dbpath /home/swa
nson/dweitzel/newprefix/

Updated:

Leave a comment