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

you are viewing a single comment's thread
view the rest of the comments
[–] 20 points 2 years ago (5 children)

Add-on application software packages

How are applications that go into /opt different than any other packages? Even after reading that spec, it seems arbitrary.

  • source
  • parent
  • hideshow 10 child comments
  • [–] 31 points 2 years ago (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 2 years ago (2 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 7 points 2 years ago (2 children)
  • [–] 19 points 2 years ago

    It is very arbitrary. Some/most non-free applications usually drop stuff into /opt, so it does not spread all over the filesystem. It makes sense if the application was not developed with Linux in mind, like Discord, Teamviewer etc.

  • source
  • parent