INSTALL-DOCS(8)

πŸ“¦
version 0.11.2build1 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– INSTALL-DOCS β€” the Debian online-docs manager, but make it make sense πŸ’–

okay bestie, welcome to install-docs, section 8 of the Debian manual. She's the girl who keeps all your online Debian documentation in check, and yes, she's that girl. Let's get into it. πŸŽ€


✨ NAME ✨

install-docs β€” manage online Debian documentation πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

install-docs [options] -i,--install | -r,--remove | -c,--check file [ file ... ]

install-docs [options] -I,--install-all | -C,--install-changed | -R,--remove-all

install-docs [options] -s,--status docid [ docid ... ]

install-docs [options] --dump-db dbname

install-docs -h,--help | -V,--version

🌸 DESCRIPTION 🌸

So install-docs is the tool that lets Debian package maintainers register their documentation with all the various documentation systems out there. It's giving "herding cats, but glamorous". ✨

Right now she supports these browsers: dhelp, dwww, dochelp, and doc-central. All of them, babes. 🫢

This manual page is just a quick synopsis of how to use install-docs β€” literally the trailer, not the whole movie. The full documentation lives in the documentation (very meta of her πŸ’€), and it includes a whole description of the control file syntax and grammar. So if you need the deep lore, go read that. iykyk.


πŸ’œ OPTIONS πŸ’œ

  • -v, --verbose β€” operate verbosely. she will tell you everything. no holding back. πŸ—£οΈ
  • -d, --debug β€” print some debugging information. detective mode activated πŸ”
  • --no-update-menus β€” inhibits running dwww-build-menu(8) and dhelp_parse(8). like, don't touch the menus, bestie. βœ‹
  • --rootdir dir β€” set the root directory to dir instead of /. Useful and valid only with the --check action. (yes, only. she's picky and that's her right πŸ’…)

πŸ‘‘ ACTIONS πŸ‘‘

Below is the list of possible actions install-docs could handle. And listen β€” there can be only one action option passed to install-docs, and on top of that, the action with its arguments must be the last option passed. One action, last, periodt. πŸ’€

Every file argument should be the full path for the doc-base control file β€” that's like /usr/share/doc-base/some_file or /etc/doc-base/documents/some_file. And every docid should be the document identifier. (Document identifiers are set in the Document field of the control file, and usually correspond to the package name. slay.) 🌟

And here's a cute trick: if file or docid equals - (the minus sign), the list of arguments gets read from standard input β€” each file name or document id on a separate line. chef's kiss πŸ‘©β€πŸ³πŸ’‹

  • -i file [file ...], --install file [file ...] β€” install the documentation described by the control file file. πŸŽ€
  • -r file [file ...], --remove file [file ...] β€” remove the documentation identified by the control file file. bye babe πŸ‘‹
  • -c file [file ...], --check file [file ...] β€” check the control file file and display the number of possible problems found. Use it with --verbose to get the actual locations of errors and warnings (that's the good stuff, fr fr). And if --rootdir was also given, its argument will be prepended to names of the files given if the Files and Index fields of the file. πŸ”
  • -R, --remove-all β€” de-register all registered documents. like, all of them. the whole roster. 😭
  • -I, --install-all β€” (re)register all documents from /usr/share/doc-base and /etc/doc-base/documents. πŸ”₯
  • -C, --install-changed β€” compare contents of /usr/share/doc-base and /etc/doc-base/documents directories with the registered documents database, then de-register any files that are missing and (re)register only changed or new files. she's efficient, she's observant, she's the moment. ✨
  • -s docid [docid ...], --status docid [docid ...] β€” display the status of the document identifier docid. πŸ“‹
  • -L docid [docid ...], --listfiles docid [docid ...] β€” deprecated option. does nothing. πŸ’€ literally nothing. a ghost. πŸ‘»
  • --dump-db dbname β€” dumps contents of internal databases, for debugging purposes. dbname can be either files.db or status.db. πŸ—„οΈ
  • -h, --help β€” show a short help message. 🫢
  • -V, --version β€” display version information. ⭐

🌈 COMPATIBILITY ISSUES 🌈

The following features were added in version 0.8.4 β€” so please, please, make sure to add proper Conflicts or Depends lines if you'd like to use them in your package's scripts. (do it. do it for her. πŸ™ˆ)

  • support for passing more than one argument to the -i and -r actions,
  • reading arguments from the standard input,
  • -I, --install-all, -R, ---remove-all, -c, --check actions,
  • -d, --debug, -h, --help options.

And the -C, --install-changed, --dump-db, -V, --version options were added in 0.8.12. newer era, new features πŸ’…


πŸ“ FILES πŸ“

  • /usr/share/doc-base/ β€” the location of doc-base control files provided by various packages. πŸ“¦
  • /etc/doc-base/documents/ β€” the location of doc-base control files provided by the local administrator. πŸ§‘β€πŸ’»
  • /var/lib/doc-base/info/documents/ β€” the location of registered control files. πŸ—‚οΈ
  • /var/lib/doc-base/info/status.db β€” statuses of registered documents. πŸ“Š
  • /var/lib/doc-base/info/files.db β€” timestamps and documents ids of registered doc-base files. ⏰

πŸ’€ BUGS πŸ’€

See <http://bugs.debian.org/doc-base>. go file a report, bestie, they're listening 🫢


🧚 SEE ALSO 🧚

dhelp(1), doccentral(1), dochelp(1), dwww(7), Debian doc-base Manual /usr/share/doc/doc-base/doc-base.html/index.html


πŸ’œ AUTHOR πŸ’œ

This program was originally written by Christian Schwarz <schwarz@debian.org>, for the Debian GNU/Linux system, and the next maintainer was Adam Di Carlo <aph@debian.org>. Robert Luberda <robert@debian.org> is currently maintaining and extending it. three icons, one legacy πŸ‘‘

This software was meant to be for the benefit of the entire Debian user and developer community. πŸ’– If you are interested in being involved with this software, please join the mailing list <debian-doc@lists.debian.org>. come hang out, we'd love to have you!! 🌸


and that's the whole page, bestie πŸŽ€ doc-base v0.11.2build1, dated 01 December 2025 β€” this was INSTALL-DOCS(8), and she ate. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from