EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: How to use INSTALL_LOCATION with system directories
From: Maren Purves via Tech-talk <tech-talk at aps.anl.gov>
To: Ralph Lange <ralph.lange at gmx.de>
Cc: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 9 Oct 2023 21:43:28 -1000
Hi Ralph and everybody,

OK, we don't use /opt for things particular to certain groups but /<something>_sw/<group> trees, where EPICS has its own /<something>_sw/epics tree.
But, those trees are usually owned by a member of the group and group-writable for the source location, but usually not for the install location (but the parent directories are so that a member of the group can create a new version. Having versions in install trees (of our own software) makes it easy to go back to a previous version). - Our /opt contains directories named 
Adobe/  google/  rh/  sun/
i.e. nothing particular to any group
(the sun directory is rather old, even for here, I'm not sure we still have a solaris machine - I know why we kept one around but it may have gone with the equipment for which we kept it around)

What I'm trying to get at here is that there may be space outside of real system space (that I wouldn't write into as long as I can help it), /opt (which I still consider close to system space) and users' home space that can still  be group specific - and isn't necessarily owned by root, so that members of the same group can write to it without using sudo.
If you don't have such things at your site, maybe ask your systems people to add it, and to create groups appropriate to write to that space.
(Wasn't my idea, but I quite like it that way)

Aloha
Maren Purves
Head of Instrument and Telescope Software
East Asian Observatory / JCMT

On Mon, Oct 9, 2023 at 9:02 PM Ralph Lange <ralph.lange at gmx.de> wrote:
Hi Maren,

On Mon, 9 Oct 2023 at 20:24, Maren Purves <m.purves at eaobservatory.org> wrote:
The part I don't understand is why you want to install it in system space in the first place.
We never have. Install it somewhere you have write access to and add that to your $PATH?

Support modules should be shared, so they need to end up in a global place with EPICS Base and the other shared support modules.

And, /opt is actually not strictly system space. It's intended for optional shared software modules. So, for something like EPICS (Base and support modules), a place like /opt/epics would be a canonical location that is perfectly in line with the applicable filesystem hierarchy standard [1]. (The only missing thing would be the registration of "epics" with LANANA as a "provider" under /opt.)

Cheers,
~Ralph



References:
How to use INSTALL_LOCATION with system directories Lucas Russo via Tech-talk
Re: How to use INSTALL_LOCATION with system directories Ralph Lange via Tech-talk
Re: How to use INSTALL_LOCATION with system directories Lucas Russo via Tech-talk
Re: How to use INSTALL_LOCATION with system directories Jure Varlec via Tech-talk
Re: How to use INSTALL_LOCATION with system directories Ralph Lange via Tech-talk
Re: How to use INSTALL_LOCATION with system directories Maren Purves via Tech-talk
Re: How to use INSTALL_LOCATION with system directories Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: How to use INSTALL_LOCATION with system directories Lucas Russo via Tech-talk
Next: RE: How to use INSTALL_LOCATION with system directories Abdalla Ahmad via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: How to use INSTALL_LOCATION with system directories Ralph Lange via Tech-talk
Next: Re: How to use INSTALL_LOCATION with system directories Lucas Russo via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 10 Oct 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·