For applications installed via system package manager, binaries, man pages, and docs go in /usr/bin/
, /usr/share/man/man<n>/
, and /usr/share/doc/<app-name>/
respectively. For example:
According to XDG Base Directory Specification, for applications installed for a single user, the binaries go in $HOME/.local/bin
. But I cannot find mentions of man pages and docs. (I imagine it would be inappropriate for them to go in /usr
when the corresponding binaries aren't installed system-wide.) So where should they go, and is there a standard/specification for this?
man hier
, it's the Linux Filesystem Hieracy document, which explains where things go.