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
[–] 95 points 2 years 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/

  • source