From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321413.tru64-unix-managers.marc@archive.invalid> From: behrooz () rudolf ! nscl ! msu ! edu (Kevin Behrooz) Date: Tue, 08 Oct 1996 14:45:05 +0000 To: tru64-unix-managers Subject: SUMMARY:Installing layered products in /usr/locl X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321413 Sometime ago I had asked: Hello managers. I would like to install the DEC supplied applications (e.g. FORTRAN, etc) in /usr/local/*, so I can export them to my NFS clients. I am wondering what is the easiest way to do this. Trying to hunt down what was installed in /usr/bin, and /usr/lib and trying to create links don't seem to be the right solutions. I am wondering how the rest of managers solve this problem. Any help or hints are appreciated. Kevin Behrooz National Superconducting Cyclotron Lab East Lansing, Michigan ----- It seems that there aren't any "easy" solution. Complete replies follow. I hope I have not missed any names. ------------------------------------------------------- From: Simon Tardell >I would like to install the DEC supplied applications (e.g. FORTRAN, >etc) in /usr/local/*, so I can export them to my NFS clients. You're certainly not the only one to think about this. I didn't solve the problem, but I have some leads you might want to investigate. >I am wondering what is the easiest way to do this. Trying to hunt down >what was installed in /usr/bin, and /usr/lib and trying to create links >don't seem to be the right solutions. setld -i DFACOM380 (etc.) will do that for you. Find the files, that is. It won't find any links, or any mods to configuration files that the installation of any specific product needs, though. To make things more complicated, some products install themselves directly in /usr/bin/ (etc.) while others drop into /usr/opt and set up links. Note that many products will expect to find their files in specific places. I have been toying with the idea of tricking setld into running the parts of the subset control scripts that does the configuration part of the installation (i.e. starting after the actual unpacking of the subset). Check out: stl_scp (4) - setld subset control program conventions and Programming Support Tools I imagine something like setld -D /ashareddisk/ -l SUBSET100 then, on each node: linking the files in the SUBSET to the places indicated in the .inv-file (what is what setld -i will tell you) setld -c SUBSET100 POST_L setld -c SUBSET100 INSTALL I don't know if I am on the right track, though. Didn't have the time to play with it. Also, note that it might be a bad idea to share between computers runtime libraries and certain executables, since you don't want to swap through the network. If you devise a method which has general enough application, please let me know. Regards, Simon. From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) I've always been lead to believe that well behaved layered products install themselves in /usr/opt and /var/opt. To find out for sure look at the inventory file for the product in /usr/.smdb./*.inv. So, all you may need to do is mount /usr/opt and /var/opt (where used), and then duplicate the symbolic links. From: Hellebo Knut Regards, If you use '-D /usr/local/fortran' as an option to 'setld -l' I think you'll come a bit further ..