问题描述
由于执行make and make install命令在我的ubuntu 12.04上安装了mongoose Web服务器,因此我有一个名为mongoose.1的mongoose Web服务器手册页.但是,手册页条目不在手册页数据库中.
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.
:"man mongoose"
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/
感谢您的提前答复.
推荐答案
应该在/etc/manpath.config
或MANPATH
环境变量中列出安装手册页的目录.例如,如果联机帮助页是
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
然后您可以使用
MANPATH=/opt/mongoose/share/man man mongoose
(或在.bashrc
或类似的Shell启动文件中更改MANPATH
).
(or change the MANPATH
in your .bashrc
or similar shell startup file).
这篇关于如何在Linux手册页数据库中添加条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!