Relocate RPM Package Installation Path With yum
Issue
-
What are the differences between
yum --installroot=<path> install <package>
and
rpm --prefix=<path> <package>
-
install a package in a different location with
yum
like withrpm --prefix
Environment
- Red Hat Enterprise Linux (RHEL)
- 5
- 6
- 7
- (Yellowdog Updater, Modified) YUM
- RPM Package Manager (RPM)
- Single package to install in a different root path
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.