2.2. The File System Hierarchy
The root directory of Software Collections is normally located in the
/opt/
directory to avoid possible conflicts between Software Collections and the base system installation. The use of the /opt/
directory is recommended by the Filesystem Hierarchy Standard (FHS).
Below is an example of the file system hierarchy layout with two Software Collections, software_collection_1 and software_collection_2:
Figure 2.1. The Software Collection File System Hierarchy
As you can see above, each of the Software Collections directories contains the Software Collection root directory, and one or more Software Collection scriptlets. For more information on the Software Collection scriptlets, refer to Section 2.6, “Software Collection Scriptlets”.