A) You need to know: ==================== What machine you should install your package on. Computers in the student computer labs are all in the domain: *.student.cs.kuleuven.be Which machine is located where, can be found on: https://mysql.student.cs.kuleuven.be/ but all machines can be used remotely from departmental networks using ssh. Remember: in the student computer labs personnel must login with their u-number. What directory your packages should be installed in: /localhost/packages/package-name the exact directory name must be agreed upon ... you can of course make suggestions, but helpdesk will try to keep some sort of common format with the other packages ;-) What pathname to use to install with: - for some packages /cw/package-name must be used - for other packages /localhost/packages/package-name must be used If the package must (also) be used from a remote machine via NFS, you should use /cw/... If the package can/must/should only be used on the local machine it is installed on, you should use /localhost/packages/... Consult with helpdesk to find out what the best options are. B) Who does what: ================= helpdesk will create the top-level directory with write access for you. You must install and configure your stuff to your liking. When you are done, helpdesk will distribute your package to all other required machines. Once distributed, you will no longer have write access ... everything will be owned by root such that nobody can change these files by mistake or without knowing ... if you need to change something, helpdesk will give you write access again, you do what needs to be done and helpdesk will re-distribute it. C) Temporary directories: ========================= If you need temporary directories while installing, you can use: 1) a sub-directory in /tmp 2) a sub-directory in your home directory /home/... 3) a sub-directory in /localhost/packages/package-name Option 1 is probably the best because it will be cleaned up automatically. Option 2 is probably the best if you want to keep that temporary directory for future use, but be aware that disk-quotas are used in/on your home directory. If you use option 3, please do make sure to delete that temporary working directory once your installation is complete !!! For everybodys sake it is best to keep the size of the package directory as small as possible: delete everything that is not needed. That makes it a lot easier to distribute your software to all other machines and probably also easier to debug and/or upgrade. D) Installation path/directories: ================================= When installing/configuring do make sure to use the right install-pathname: - either /localhost/packages/package-name/mypackage-1.4.17 - or /cw/package-name/mypackage-1.4.17 The difference is that packages installed by means of /localhost/packages/... can only be used on machines where that package is indeed installed. Packages installed by means of /cw/... can be used on machines on which that package is not installed locally, but they can/will be used via NFS from another machine. Not all software can be used by means of /cw/... because NFS might be too slow in some circumstances (e.g. opening/closing a lot of files very fast) Moreover, /cw/... paths must be configured in the automounter configuration, something you cannot do yourself. Consult with helpdesk whether or not you want/need a /cw/... pathname. E) Version directories: ======================= We advise to use a sub-directory with the exact version of the software you are installing and then use a symbolic link with the name you really want to use: /localhost/packages/MyPackage/mypackage-1.4.17 /localhost/packages/MyPackage/current -> mypackage-1.4.17 In this way you can: - use different versions side-by-side - publish/document paths that do not change when you change versions: /cw/MyPackage/current/bin/mypackage Instead of a symbolic link to the directory, you can also use a real (sub-)directory with known/stable name and symbolic links in it that link to the commands/files/directories you want to: /cw/MyPackage/bin/mypackage -> ../mypackage-1.4.17/bin/mypackage In this way, you can link to items from several version-directories using the same known/stable path-name.