010-100 · Question #91
Which directory contains additional information about installed packages?
The correct answer is D. /usr/share/doc. /usr/share/doc is the standard Filesystem Hierarchy Standard location where package documentation and supplementary information are stored on Linux systems.
Question
Which directory 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
(56 responses)- A5% (3)
- B11% (6)
- C2% (1)
- D80% (45)
- E2% (1)
Why each option
/usr/share/doc is the standard Filesystem Hierarchy Standard location where package documentation and supplementary information are stored on Linux systems.
/usr/share/documentation is not a path defined by the FHS and is not used by standard Linux distributions.
/usr/local/share/documentation is not a standard path; /usr/local is reserved for software installed manually outside the package manager.
/usr/local/doc is not the standard location; documentation for manually installed software may optionally land in /usr/local, but this path is not canonical for package-managed software.
The FHS specifies /usr/share/doc as the directory for architecture-independent documentation installed by packages, including changelogs, copyright files, READMEs, and examples. Package managers such as apt and rpm populate subdirectories here (e.g., /usr/share/doc/packagename/) when a package is installed.
/usr/packages/doc does not exist in the FHS and is not used by any standard Linux distribution.
Concept tested: FHS 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.