In 2020, The Value of /OPT
by enorbet from LinuxQuestions.org on (#521RP)
Greetings
As I understand it both /usr/local/ and /opt were originally designed to allow a great deal of flexibility for unusual use cases, and to my knowledge, neither are used much anymore.
I would like to run an isolated set of commands and libraries for a few old KDE3 apps by installing everything they need all in /opt, but I'm not certain how I can set it up so libraries with the same names are kept separate from those for KTown, for example. I don't see how a system-wide $PATH can keep them separated so I'm thinking of a set of symbolic links that can arrange it so only apps run from /opt/kde3/bin, for example, will find the appropriate libraries and not cause interference with KTown/Plasma5.
Has anyone else thought about this or done such a thing? If I can get this to work properly I am considering attempting to make TDE coexist with Plasma5 by maintaining complete separation and employing the sddm login/selector to choose between them. Any comments welcome and thanks 8")


As I understand it both /usr/local/ and /opt were originally designed to allow a great deal of flexibility for unusual use cases, and to my knowledge, neither are used much anymore.
I would like to run an isolated set of commands and libraries for a few old KDE3 apps by installing everything they need all in /opt, but I'm not certain how I can set it up so libraries with the same names are kept separate from those for KTown, for example. I don't see how a system-wide $PATH can keep them separated so I'm thinking of a set of symbolic links that can arrange it so only apps run from /opt/kde3/bin, for example, will find the appropriate libraries and not cause interference with KTown/Plasma5.
Has anyone else thought about this or done such a thing? If I can get this to work properly I am considering attempting to make TDE coexist with Plasma5 by maintaining complete separation and employing the sddm login/selector to choose between them. Any comments welcome and thanks 8")