Apropos: Difference between revisions

From NixOS Wiki
imported>Hhm
isuues titles
imported>Jtojnar
updated with a command that works for me
Line 3: Line 3:
To generate it manually (and again to update it when new software is installed), run:
To generate it manually (and again to update it when new software is installed), run:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
su -l root -c mandb
sudo mkdir -p /var/cache/man/nixos
sudo mandb
</syntaxhighlight>
</syntaxhighlight>



Revision as of 05:07, 31 December 2019

As of NixOS 18.09, apropos (and likely also whatis) does not find anything when run. This is because the Apropos database is not generated automatically.

To generate it manually (and again to update it when new software is installed), run:

sudo mkdir -p /var/cache/man/nixos
sudo mandb


For more information, see: