LX0-103 · Question #181
Which of the following directories contains additional information about installed packages?
The correct answer is D. /usr/share/doc. The /usr/share/doc directory is the Filesystem Hierarchy Standard location for documentation bundled with installed packages.
Question
Which of the following directories contains additional information about installed packages?
Options
- A/usr/share/documentation
- B/usr/local/share/documentation
- C/usr/local/doc
- D/usr/share/doc
- E/usr/packages/doc
How the community answered
(31 responses)- A3% (1)
- C3% (1)
- D87% (27)
- E6% (2)
Why each option
The /usr/share/doc directory is the Filesystem Hierarchy Standard location for documentation bundled with installed packages.
/usr/share/documentation is not a defined or standard directory in the FHS.
/usr/local/share is reserved for data installed by the local administrator, not for distribution-managed packages.
/usr/local/doc is not a standard FHS-defined directory path.
/usr/share/doc is defined by the FHS as the standard location where package maintainers place documentation such as READMEs, changelogs, and license files for installed packages, making it the canonical directory for this purpose on Linux systems.
/usr/packages/doc does not exist as a standard Linux directory.
Concept tested: FHS standard package documentation directory location
Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html
Topics
Community Discussion
No community discussion yet for this question.