Directory structure and version conflicts

Fabricio Cannini fcannini at gmail.com
Tue May 21 22:38:20 UTC 2013


Hi there

I'm trying to define a directory structure that allow for many varieties 
of the same software to be installed . The differences would consist of :

- Software version
- Compiler vendor
- Compiler version

These packages are for centos 5 and 6, basically .


The directory structure I'm thinking of is like this :

====

/opt
     /{ softwares,libraries,compilers }
         /software_name
             /software_version
                 /compiler_name
                     /compiler_version

====

Also, i'm thinking of embedding compiler vendor and version on the 
'release' field of the rpm .



The questions are :

- Is the directory structure too complex ? Can it be simpler while 
allowing multiple variations of the same software ( version ) to be 
installed side-by-side ?

- Am I abusing the 'release' field ?

- On the current roadmap of rpm ( the software ) development, is my plan 
( a little, at least ) future-proof ?


TIA
Fabricio


More information about the Rpm-list mailing list