Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add entry in Linux man page database

Tags:

linux

manpage

I have a manual page for mongoose web server named as mongoose.1 as a result of doing make and make install command to install mongoose web server on my ubuntu 12.04. But ,the man page entry is not in manual page database.

output on my command line when I did : "man mongoose"

akshay@akshay-Inspiron-N5010:~/mongoose$ man mongoose
  No manual entry for mongoose
  See 'man 7 undocumented' for help when manual pages are not available.

I know the path of all man pages where they are stored is:-

/usr/local/share/man/

I am thankful for your answers in advance.

like image 556
Akshay Patil Avatar asked Dec 25 '12 13:12

Akshay Patil


People also ask

How do I manually enter a page in Linux?

First, launch Terminal (in your /Applications/Utilities folder). Then, if you type man pwd , for example, Terminal will display the man page for the pwd command. The beginning of the man page for the pwd command. Next comes synopsis, which shows the command options, or flags, that you can use with it.

What is man page in Linux?

A man page (short for manual page) is a form of software documentation usually found on a Unix or Unix-like operating system. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.

Where are man pages stored Linux?

The man pages are stored in /usr/share/man.


1 Answers

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).

like image 178
Fred Foo Avatar answered Oct 05 '22 09:10

Fred Foo