1833906 Members
2036 Online
110063 Solutions
New Discussion

Creating man pages

 
Dayanand Naik
Frequent Advisor

Creating man pages

Hi Folks,

I recently installed gcc compiler and i'm not able to read the man pages, when i type man gcc it say : No manual entry for gcc.

when i traced the path was gcc: /opt/gcc/bin/gcc /opt/gcc/man/man1/gcc.1
so how can i create the man pages so that i can c when i type man gcc....

Thanks & Regards,
Dayanand Naik.
Dayanand Naik
3 REPLIES 3
Victor BERRIDGE
Honored Contributor

Re: Creating man pages

Hi,

Just add the path to MANPATH= $MANPATH:
in your .profile
or you can update /etc/MANPATH...


All the best

Victor
Thierry Poels_1
Honored Contributor

Re: Creating man pages

hi,

you will have to add the new directory (/opt/gcc/man/) to /etc/MANPATH.
If you want to use "man -k" you will als have to execute catman again.

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Sundar_7
Honored Contributor

Re: Creating man pages

Hi,

# export MANPATH=$MANPATH:/opt/gcc/man/man1:

# catman -w

if needed

Sundar
Learn What to do ,How to do and more importantly When to do ?