This is a set up I am doing for a college to promote Linux use in their labs.
I have a shared location, let me call it
/tp; I want to install all my libraries and packages in this location just like the default install. Reason to do this is: I want all the users in the network connected to this server to link their programs to this particular location to pick up libraries for the program.
The closest I came to was using (for example)
yum install boost --installroot=/tp/. This did not work as the yum started looking for mirror list in this location. I want the installation to be done in the location