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

  • atzanteol
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    8 months ago

    Here’s an example of how I have used it in the past (following the guidance in the other post).

    I did a lot of Java development. Ubuntu has a package for OpenJDK which I installed, but I also need specific (and often multiple) versions not included by the package manager. So I would download a tarball and extract them to /opt/java-x.y.z/. Then for the version I considered my “current” I created a symlink at /opt/java to point to the version I wanted to use.