Friday, January 28, 2011

Non-root RPM Install

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/

No comments:

Post a Comment