Is there anybody who knows that how to install package using yum on different directory but not in root(/) directory ?Whenever I'm using yum install package-name command by default it is installing package in root(/) directory but i want to install package in different directory.Thank you. 
Yum install package-name
software installation;yum