I’ve seen a lot of self-hosted software wanting to store their data in /opt, is there any reason why?

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    1
    ·
    7 months ago

    Yes, it’s arbitrary.

    Packages that bundle a bunch of stuff, or otherwise make a mess, should go into /opt. Well-behaved packages that integrate with the system should be fine to install to /usr.

    • caseyweederman@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      7 months ago

      Who gets the final call on that, the developer or the maintainer? I’ve noticed that Landscape goes into /opt, and Canonical is both developer and maintainer there.

      • catloaf@lemm.ee
        link
        fedilink
        English
        arrow-up
        8
        ·
        7 months ago

        The developer could do one thing, but whoever builds the package could change it, so the packager.