LFCS · Question #781
Which of the following directories contains additional information about installed packages?
The correct answer is D. /usr/share/doc. According to the Filesystem Hierarchy Standard (FHS), additional documentation for installed software packages is stored in the /usr/share/doc directory.
Question
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
(44 responses)- A2% (1)
- B2% (1)
- D95% (42)
Why each option
According to the Filesystem Hierarchy Standard (FHS), additional documentation for installed software packages is stored in the `/usr/share/doc` directory.
`/usr/share/documentation` is not the standard FHS path for package documentation; the correct subdirectory is `doc`.
`/usr/local/share/documentation` would typically hold documentation for software installed locally, not system-wide packages managed by a package manager.
`/usr/local/doc` is not a standard FHS directory; `doc` should be under `share` for locally installed software.
The Filesystem Hierarchy Standard (FHS) dictates that architecture-independent data, including documentation for installed packages (e.g., READMEs, HOWTOs, examples), should be placed under `/usr/share/doc`. Each package typically has its own subdirectory within this location.
`/usr/packages/doc` is not a standard FHS directory for storing package documentation.
Concept tested: Filesystem Hierarchy Standard (FHS)
Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html
Topics
Community Discussion
No community discussion yet for this question.