Ask a Question related to Debian, Design and Development.

  1. #1

    Default FHS question

    I was trolling through the Debain Policy Manual and then the referenced FHS
    and came up wit a question.

    This is just an example.

    openoffice is installed from .debs that I obtained (I believe) from a
    non-debian sanctioned location:
    deb [url]http://ftp.sk.debian.org/openoffice-debian/[/url] stable main contrib
    deb [url]http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/[/url] stable main contrib

    'which openoffice' tells me that these packages installed into
    /usr/bin/openoffice

    FHS says that this directory is for "binaries not needed in single user mode".
    But then I went over and looked at the /opt which also seemed rather
    reasonable as a place to put things.

    It also seems a heck of a lot easier to manage the installation and (more
    importantly) the removal of software through the /opt structure.

    I am wondering if someone could explain to me why /opt isn't used much if at
    all and under when circumstances it would be expected to be used, or not.

    I have also noticed that a bried test-drive with SuSE indicated that they
    love putting everything in the world into /opt, but again I don't really
    understand the reasoning behind it or what the advantages/disadvantages might be.

    My guess is that some of this comes down to nfs mounting applications, but
    I'm not even sure about that.

    --
    Ralph's Observation:
    It is a mistake to let any mechanical object realise that you
    are in a hurry.


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Tom Allison Guest

  2. Similar Questions and Discussions

    1. Newbie Question: Biz Card Template Question
      Hi, I got the Pagemaker PlugIn - I am using one of the templates for Business Cards - the elements appear to be grouped (bound box all around when I...
  3. #2

    Default Re: FHS question

    On Fri, Aug 01, 2003 at 02:35:44AM -0400, Tom Allison wrote:
    > FHS says that this directory is for "binaries not needed in single user
    > mode".
    > But then I went over and looked at the /opt which also seemed rather
    > reasonable as a place to put things.
    >
    > It also seems a heck of a lot easier to manage the installation and (more
    > importantly) the removal of software through the /opt structure.
    >
    > I am wondering if someone could explain to me why /opt isn't used much if
    > at all and under when circumstances it would be expected to be used, or not.
    Debian prefers to leave /opt for the system administrator. Since we have
    dpkg, there's no need to worry about ease of installation or removal;
    you should be using the package management tools to do that anyway.

    Cheers,

    --
    Colin Watson [cjwatson@flatline.org.uk]


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Colin Watson Guest

  4. #3

    Default Re: FHS question

    Colin Watson wrote:
    > On Fri, Aug 01, 2003 at 02:35:44AM -0400, Tom Allison wrote:
    >
    >>FHS says that this directory is for "binaries not needed in single user
    >>mode".
    >>But then I went over and looked at the /opt which also seemed rather
    >>reasonable as a place to put things.
    >>
    >>It also seems a heck of a lot easier to manage the installation and (more
    >>importantly) the removal of software through the /opt structure.
    >>
    >>I am wondering if someone could explain to me why /opt isn't used much if
    >>at all and under when circumstances it would be expected to be used, or not.
    >
    >
    > Debian prefers to leave /opt for the system administrator. Since we have
    > dpkg, there's no need to worry about ease of installation or removal;
    > you should be using the package management tools to do that anyway.
    >
    > Cheers,
    >
    I concede that this is Debians choice in configuration.

    Wouldn't it be possible to utilize /opt for big packages (open office,
    mozilla, KDE, Gnome, Java) and still leave /opt for system administrators?

    I kind of like the idea of putting what you need for the basics in /usr and
    the cool applications in /opt and spread it around a little bit.

    I guess there's really no valid reason for going one way or the other but
    that it's more important to have an agreed to schema when setting up files.

    --
    Kennedy's Market Theorem:
    Given enough inside information and unlimited credit,
    you've got to go broke.


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Tom Allison Guest

  5. #4

    Default Re: FHS question

    Tom,

    On Fri, 01 Aug 2003 07:18:45 -0400
    Tom Allison <tallison@tacocat.net> wrote:
    > Wouldn't it be possible to utilize /opt for big packages (open office,
    >
    > mozilla, KDE, Gnome, Java) and still leave /opt for system
    > administrators?
    >
    > I kind of like the idea of putting what you need for the basics in
    > /usr and the cool applications in /opt and spread it around a little
    > bit.
    I can't speak for Debian, because I've only been using it about 6
    months, but most of the big distributions used to do exactly what you
    described - there would be /opt/gnome, /opt/kde, /opt/openoffice, and so
    on. What happened, especially as the projects became more mature, is
    that a lot of cross-dependencies developed - Galeon used Mozilla, and
    lots of things used GTK, for example. Then the "tidy" directory
    structure became a horrible mess for compile time configuration, the
    $PATH variable stretched out for miles and required maintenance, and
    basically the whole tidy structure only served to hide dependencies and
    relationships that actually existed. Better to toss everything in /usr
    and forego human-readable browsing for the sake of an efficient system.
    Trust in the package manager to keep track of things for you.

    --Todd


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Todd Pytel Guest

  6. #5

    Default Re: FHS question

    on Fri, Aug 01, 2003 at 07:18:45AM -0400, Tom Allison (tallison@tacocat.net) wrote:
    > Colin Watson wrote:
    > >On Fri, Aug 01, 2003 at 02:35:44AM -0400, Tom Allison wrote:
    > >
    > >>FHS says that this directory is for "binaries not needed in single
    > >>user mode". But then I went over and looked at the /opt which also
    > >>seemed rather reasonable as a place to put things.
    > >>
    > >>It also seems a heck of a lot easier to manage the installation and
    > >>(more importantly) the removal of software through the /opt
    > >>structure.
    > >>
    > >>I am wondering if someone could explain to me why /opt isn't used
    > >>much if at all and under when circumstances it would be expected to
    > >>be used, or not.
    > >
    > >
    > >Debian prefers to leave /opt for the system administrator. Since we
    > >have dpkg, there's no need to worry about ease of installation or
    > >removal; you should be using the package management tools to do that
    > >anyway.
    > >
    > >Cheers,
    > >
    >
    > I concede that this is Debians choice in configuration.
    Specifically: it's Policy. The S.A. is assured that nothing under /opt
    will be modified by the packaging system.
    > Wouldn't it be possible to utilize /opt for big packages (open office,
    > mozilla, KDE, Gnome, Java) and still leave /opt for system administrators?
    What you'll find in Debian is that packages with large quantities of
    related files will create a subdirectory under /usr/lib or /usr/share
    for components, for arch-dependent and arch-independent files,
    respectively. See Debian Policy 10.7.3.

    Peace.

    --
    Karsten M. Self <kmself@ix.netcom.com> [url]http://kmself.home.netcom.com/[/url]
    What Part of "Gestalt" don't you understand?
    Data corrupts. Absolute data corrupts absolutely.
    -- Ed Self's corollary of Atkinson's Law.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/LZoBefG8443k044RAkf2AJ4u+EPA5UUeF+qBsjVeI2iA66xxPg CeI/nI
    g3Vx/Wl+dRnP/OJaSaNk7Ko=
    =Ksgt
    -----END PGP SIGNATURE-----

    Karsten M. Self Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139