I would like to use the Foswiki yum repository to install Foswiki (296 packages). The default installation path is /var/lib/, but I want to install it to an alternate location at /opt/www/. In the future, I still want to use yum to check for and apply updates to the packages.
Is it possible to use yum to install packages to an location which is different then the default location provided by RPMs? Does Yum provide anything similar to ./configure --prefix=/usr/local/ or rpm --install --prefix=/opt/local?
Yum provides the --installroot option, but that appears to primarily for chroot environments.
/var/lib/...a symlink to/opt/www? – Mark Wagner Dec 4 '12 at 1:07yumto install packages to an alternate location in the same way thatrpmand./configureprovide the--prefixoption to install to an alternate location. – Stefan Lasiewski Dec 4 '12 at 1:32