AlexPewMaster@lemmy.zip to Linux@lemmy.ml · 8 months agoWhat is the /opt directory?message-squaremessage-square27fedilinkarrow-up152arrow-down11file-text
arrow-up151arrow-down1message-squareWhat is the /opt directory?AlexPewMaster@lemmy.zip to Linux@lemmy.ml · 8 months agomessage-square27fedilinkfile-text
I’ve seen a lot of self-hosted software wanting to store their data in /opt, is there any reason why?
minus-squareStrit@lemmy.linuxuserspace.showlinkfedilinkarrow-up5·8 months agohttps://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s13.html
minus-squarecaseyweederman@lemmy.calinkfedilinkarrow-up1·8 months ago 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.
minus-square0x0@programming.devlinkfedilinkarrow-up2·8 months agoIf you didn’t get it through your distro’s package manager, it probably should go into /opt.
minus-squareorsetto@lemmy.dbzer0.comlinkfedilinkarrow-up0·8 months agoI think it refers to applications that do not respect the standard directories like /usr/bin, /usr/share/man, /etc
minus-squareStrit@lemmy.linuxuserspace.showlinkfedilinkarrow-up0·8 months agoIt 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.
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s13.html
How are applications that go into /opt different than any other packages? Even after reading that spec, it seems arbitrary.
If you didn’t get it through your distro’s package manager, it probably should go into
/opt
.I think it refers to applications that do not respect the standard directories like
/usr/bin
,/usr/share/man
,/etc
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.