[sf-perl] poll: directory layout question

Joe Brenner doom at kzsu.stanford.edu
Thu Apr 22 11:42:40 PDT 2010

David Alban <extasia at extasia.org> wrote:

> so given that you'd use the tree </usr/local/tool-$version/>, would
> you do this for the executable?
>      /usr/local/bin/tool
> or this?
>      /usr/local/tool-$version/bin/tool

I would do that.  That's the point, I prefer it *all* bunched together
under a versioned directory to make it simpler to compare versions.

> or maybe even a symlink:
>      /us/local/bin/tool -> /usr/local/tool-$version/bin/tool

Yes, frequently I'd do something like that once I'd settled on a
particular version to be the default.

> Joe Brenner <doom at kzsu.stanford.edu> wrote:
> > I prefer the "or this layout", because I'm not going want just one
> > version of "tool" involved, really I'm going to do stuff like:
> >
> >>       /usr/local/tool-0.88/
> >>       /usr/local/tool-0.98/
> >>       /usr/local/tool-0.99/
> >
> > The library and the configuration both need to be versioned [1], and it's
> > simplest to version the directory (and probably make just one the default
> > via a symlink).

[1] The empty footnote there was where I was going to reminisce about the
bad old days of linux, where you might want to experiment with multiple
builds of kernels but they'd only give you a single /boot/config to do
it with.

More information about the SanFrancisco-pm mailing list