Linux Hint shows you how to install a package to a specific directory using Yum.
How to Install Package to a Specific Directory Using Yum
It’s often needed to install some packages in our system for a brief period but this will consume disk space. It’s recommended to install the packages in some temporary directory. This article provides a detailed guide on how to install packages to specific directory using Yum and DNF package manager.
How to Install Package to a Specific Directory Using Yum – Linux Hint