How to Add Entry in Linux Man Page Database

How to add entry in Linux man page database

The directory where the manpage is installed should be listed either in /etc/manpath.config or in the MANPATH environment variable. E.g., if the manpage is

/opt/mongoose/share/man/man1/mongoose.1

then you can set it using

MANPATH=/opt/mongoose/share/man man mongoose

(or change the MANPATH in your .bashrc or similar shell startup file).

man 7 groff_man - No manual entry for groff

Seems that even though the groff application is present on the machine, all of the other supporting docs are not. For Fedora, I needed to install the following packages.

sudo dnf install groff groff-base groff-doc groff-perl groff-x11

After doing that, I was able to execute

man 7 groff_man

and get the information I needed.

How to open page in man with title of several words?

These are not man pages, but external documents. The number in square brackets references the notes section at the end of the document, where the location of these files is given.



Related Topics



Leave a reply



Submit