Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-20-2006, 09:25 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 22

Rep: Reputation: 15
Inserting Manpages

I have developed a software a linux.
I have created a Manpage for this software. This Manpage is the help for the user to use this software.
But somehow I m not able to insert this Manpage.
So, please can anyone give me a detailed solution as to how to insert Manpages in the linux so that it can be viewed by giving the command man software_name?

Last edited by bhandu; 03-20-2006 at 10:49 AM.
Old 03-20-2006, 09:53 AM   #2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 64
As far as I know, just put the file in some man dir, e.g. /usr/local/man/man.1/yourcommand.1

Of course, yourcommand.1 must be a nroff document. To check if is looks nice when formmated,
$ nroff -man /usr/local/man/man.1/yourcommand.1|more
Old 03-20-2006, 10:25 AM   #3
Registered: Jul 2005
Location: Vietnam
Distribution: Fedora Core 2
Posts: 55

Rep: Reputation: 15
To know what path that man find, you just view file /etc/man.config
This is a part of mine
# This file is also read by man in order to find how to call nroff, less, etc.,
# and to determine the correspondence between extensions and decompressors.
# MANBIN /usr/local/bin/man
# Every automatically generated MANPATH includes these fields
MANPATH /usr/share/man
MANPATH /usr/man
MANPATH /usr/local/share/man
MANPATH /usr/local/man
MANPATH /usr/X11R6/man


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
manpages in yelp yadu Debian 0 11-09-2005 08:00 PM
NPTL manpages vghiware Programming 1 09-19-2005 10:58 PM
manpages not working plosiv Linux - General 1 11-11-2004 10:57 AM
more about manpages bigjohn Linux - Newbie 1 03-04-2004 09:07 PM
manpages for C++ lib functions h/w Programming 2 02-16-2004 02:19 PM

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration