Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180304

Re: Proper folder for non-Debian binaries

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Proper folder for non-Debian binaries
Date 2017-04-20 05:00 +0200
Message-ID <tyau6-3hx-5@gated-at.bofh.it> (permalink)
References <txX3R-3sb-19@gated-at.bofh.it> <txXwS-3R5-15@gated-at.bofh.it> <ty1TQ-6kT-25@gated-at.bofh.it> <ty2wx-6N4-1@gated-at.bofh.it> <ty39g-7fq-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 19 Apr 2017 at 15:06:11 (-0400), Cindy-Sue Causey wrote:
> On 4/19/17, David Wright <deblis@lionunicorn.co.uk> wrote:
> > On Wed 19 Apr 2017 at 13:46:51 (-0400), Felix Miata wrote:
> >> Brian composed on 2017-04-19 14:03 (UTC+0100):
> >>
> >> > On Wed 19 Apr 2017 at 07:30:20 -0500, Richard Owlett wrote:
> >>
> >> >> I wish to use SeaMonkey's Linux executable to maintain maximum
> >> >> compatibility
> >> >> with my Windows machine.
> >>
> >> >> Using https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard as a
> >> >> guide
> >> >> I see several possible folders.
> >>
> >> >> What is Debian's preferred folder for executables available to all
> >> >> users.
> >              ↑↑↑↑↑↑
> >>
> >> > /usr/local/bin
> >>
> >> I think not such a good idea, especially for any who need immediate
> >> availability
> >> of multiple versions of a web browsing application. Better
> >> /usr/local/<applicationNameVersion>, like so:
> >> # ls -gG /usr/local/
> >> drwxr-xr-x  2  4096 Mar  2 01:17 bin
> >> drwxr-xr-x  3  4096 Dec 28 03:58 Brother
> >> drwxrwxr-x  2  4096 Mar 31 11:51 dfsee
> >> drwxr-xr-x  3  4096 Feb 28 12:58 etc
> >> drwxrwxrwx 13  4096 Dec 12  2013 ff2
> > [... etc ...]
> >
> > That conflicts with the FHS §4.9 and with Debian's Policy Manual §9.1.1&2.
> 
> 
> It has been a LONG time since I manually installed something that way,
> but I do remember pointing my installs at /usr/local. My package
> manager would take care of the rest by intelligently placing files in
> Brian's recommended /usr/local/bin along with other locations such as
> /usr/local/share and /usr/local/lib if required.
> 
> My rationale was that installing into /usr/local made it easier for me
> to keep track of the packages I did install that way.

If you do exactly as you described in ¶1, then that's the correct
way. In ¶2 you wrote "into /usr/local", which is different from what
you did. The Debian Policy Manual is careful to distinguish "below"
(what you did) from "into" (what the listing above shows).

> Whether that likewise conflicts, I'm not sure. I understand what's
> being said there, but I've just never had to actually think on
> it/worry about it since I've always been a single user system.
> 
> I do remember always wondering to myself if that /usr/local directory
> meant that the package was only available to the "local" user behind
> the install (even though "root" ultimately installed), but I never got
> around to testing it with a second user.. :)

No, it should be available to users just like normal software.
The "local"ity is the host or group of hosts.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Proper folder for non-Debian binaries Richard Owlett <rowlett@cloud85.net> - 2017-04-19 14:40 +0200
  Re: Proper folder for non-Debian binaries Brian <ad44@cityscape.co.uk> - 2017-04-19 15:10 +0200
    Re: Proper folder for non-Debian binaries Felix Miata <mrmazda@earthlink.net> - 2017-04-19 19:50 +0200
      Re: Proper folder for non-Debian binaries Nicolas George <george@nsup.org> - 2017-04-19 20:00 +0200
        Re: Proper folder for non-Debian binaries Ben Caradoc-Davies <ben@transient.nz> - 2017-04-20 05:50 +0200
      Re: Proper folder for non-Debian binaries David Wright <deblis@lionunicorn.co.uk> - 2017-04-19 20:30 +0200
        Re: Proper folder for non-Debian binaries Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-04-19 21:10 +0200
          Re: Proper folder for non-Debian binaries David Wright <deblis@lionunicorn.co.uk> - 2017-04-20 05:00 +0200
        Re: Proper folder for non-Debian binaries Felix Miata <mrmazda@earthlink.net> - 2017-04-20 02:10 +0200
          Re: Proper folder for non-Debian binaries Ben Finney <bignose@debian.org> - 2017-04-20 06:00 +0200
            Re: Proper folder for non-Debian binaries Felix Miata <mrmazda@earthlink.net> - 2017-04-20 07:00 +0200

csiph-web