INSTALL-DOCS(8)
π 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 runningdwww-build-menu(8)anddhelp_parse(8). like, don't touch the menus, bestie. β--rootdirdir β set the root directory to dir instead of/. Useful and valid only with the--checkaction. (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 π©βπ³π
-ifile [file ...],--installfile [file ...] β install the documentation described by the control file file. π-rfile [file ...],--removefile [file ...] β remove the documentation identified by the control file file. bye babe π-cfile [file ...],--checkfile [file ...] β check the control file file and display the number of possible problems found. Use it with--verboseto get the actual locations of errors and warnings (that's the good stuff, fr fr). And if--rootdirwas also given, its argument will be prepended to names of the files given if theFilesandIndexfields 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-baseand/etc/doc-base/documents. π₯-C,--install-changedβ compare contents of/usr/share/doc-baseand/etc/doc-base/documentsdirectories 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. β¨-sdocid [docid ...],--statusdocid [docid ...] β display the status of the document identifier docid. π-Ldocid [docid ...],--listfilesdocid [docid ...] β deprecated option. does nothing. π literally nothing. a ghost. π»--dump-dbdbname β dumps contents of internal databases, for debugging purposes. dbname can be eitherfiles.dborstatus.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
-iand-ractions, - reading arguments from the standard input,
-I,--install-all,-R,---remove-all,-c,--checkactions,-d,--debug,-h,--helpoptions.
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
- ubuntu resolute: doc-base 0.11.2build1 Β· GPL-2.0-or-later
- ubuntu stonking: doc-base 0.11.2build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms