package for kernel man pages (section 9)

Tom H tomh0665 at gmail.com
Sun Dec 1 22:34:26 UTC 2013


On Sun, Dec 1, 2013 at 6:59 PM, Tom H <tomh0665 at gmail.com> wrote:
> On Sun, Dec 1, 2013 at 5:10 PM, David Shwatrz <dshwatrz at gmail.com> wrote:
>>
>> Is there a way to install the kernel man pages (section 9) in ubuntu ?
>> In fedora, running "yum install kernel-doc" install them.
>> In Ububtu, I tried:
>> apt-get install kernel-doc
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package kernel-doc
>
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/779030

You could compile the man9 pages yourself ("make mandocs") but it'll
involve downloading the source from kernel.org and installing many
packages. For example, I compile kernels regularly so I already have
the tools for that compilation installed, but when I tried compiling
those docs, I was prompted to install xmlto, which wanted to pull in
about 750 MB, and I exited the installation. Looking at the Makefile,
you'll have to run "make installmandocs" for the man9 pages to be
copied to "/usr/local/man/man9". I suspect that you'll then have to
run "mandb" but maybe not.

A second, quicker option would be to copy the man9 directory either
from a Fedora install or from an expanded Fedora kernel-doc rpm to
"/usr/local/man" (so you'd have "/usr/local/man/man9/*.9.gz" as
manpages) and run "mandb".




More information about the ubuntu-users mailing list