[CentOS] yum install to a portable location

Fri Jun 13 03:30:31 UTC 2014
Robert Stuart <r.stuart at qut.edu.au>

Hi Dan,

Chroot gets you a space that "looks" like it is a separate system. Given 
this is R, I assume you are probably wanting this for HPC like 
purposes... Could I suggest building your own version of R and 
installing into a nfs area? You may also wish to investigate the 
facilities provided by the package environment-modules - they can be 
quite handy (these aren't environmental monitoring).

My R users tend to need the later versions of R. I configure R with 
something like:
./configure --prefix=/nfs_apps --enable-R-shlib --with-x --with-tcltk

Regards
Robert

On 06/12/2014 05:12 AM, Dan Hyatt wrote:
> What will chroot get me.
> I have root on the server, I have a filesystem mounted on all server.
>
> What I want to do is contain the binaries and dependancies on the nfs
> filesystem
> On 6/11/2014 11:30 AM, Andrew Holway wrote:
>> Can you use chroot?
>>
>>
>> On 11 June 2014 18:26, Dan Hyatt <dhyatt at dsgmail.wustl.edu> wrote:
>>
>>> I have googled, read the man page, and such.
>>>
>>> What I am trying to do is install applications to a NFS mounted drive,
>>> where the libraries and everything are locally installed on that
>>> filesystem so that it is portable across servers (I have over 100
>>> servers which each need specific applications installed via yum and we
>>> do not want to install 100 copies).
>>>
>>> We tried the yum relocate and it was not available on Centos6.4
>>>
>>> and
>>> yum --nogpgcheck localinstall R-3.1.0-5.el6.x86_64
>>>
>>> I want the binaries and all dependencies in the application filesystem
>>> which is remote mounted on all servers.
>>>
>>> Thanks,
>>>
>>> --
>>>
>>> Dan Hyatt
>>>
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos