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

  • www-gem@lemmy.ml
    link
    fedilink
    arrow-up
    89
    ·
    edit-2
    8 months ago

    "Traditionally, the /opt directory is used for installing/storing the files of third-party applications that are not available from the distribution’s repository.

    The normal practice is to keep the software code in opt and then link the binary file in the /bin directory so that all the users can run it."

    https://linuxhandbook.com/linux-directory-structure/