Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'd like to install python on a network drive to ease the job of keeping all users on the same version of python.

The 'readme' which accompanied the download from python.org suggests I must install onto the current boot disk for things to work.

Does anyone have any suggestions on how I might go about installing on a network drive (mounted over NFS)

share|improve this question

migrated from stackoverflow.com Oct 15 '11 at 7:50

1 Answer

up vote 0 down vote accepted

Configure, build and install Python with

./configure --prefix=/where/you/want/python
make
sudo make install

then tell all users to include /where/you/want/python/bin, or rather its local name on the NFS clients, to their PATH, OR make sure that /where/you/want/python is mounted at /usr/local on each host (union mounts are very useful for this).

share|improve this answer
Thanks. Union mounts seem a great solution but I am struggling with the syntax – user993269 Oct 14 '11 at 14:49
Thanks.@larsmans mount -t nfs -o union 111.111.1.11:media/RT0/tools/SITE/software/OSX /user/local gives the following error mount_nfs: can't access media/RT0/tools/SITE/software/OSX: Permission denied – user993269 Oct 14 '11 at 14:57
@user993269: sounds like you need to execute mount as root. – larsmans Oct 16 '11 at 9:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.