On Mon, 30 Aug 2021 17:07:21 -0000
"Nils K" <nilskemail+git...@gmail.com> wrote:

> I recently had to perform a bit of development/research where I often
> had to take a look in the kernel documentation.
> 
> Most of the time was spend offline so I wanted to download the
> `kernel-doc` package however it does not seem to exist. Some old
> fedora documentations still refer to it however somewhere in the 2x
> iteration of fedora it seems to have gone missing. CentOS 8 also
> still has it. Would it be possible to add this back to the repos?

Easiest would be go to the kernel.org page and use the savepage
entry in the File menu of the browser to save a copy of the
documentation.  Then you can access it offline.

A more involved and clumsy workaround is to download the src.rpm
package [1] and unpack it. It is a little complicated because you have
to run 
rpmdev-setuptree
to create the ~/rpmbuild heirarchy of directories and then
rpm -ivh [src.rpm]
[***NOT*** as root] to install the src.rpm in ~/rpmbuild and then
rpmbuild -bp kernel.spec
in ~/rpmbuild/SPECS
to expand the source.

The source tree containing all the documentation will then be under
~/rpmbuild/BUILD/kernel[...]/linux[...]/Documentation

1. https://koji.fedoraproject.org/koji/packageinfo?packageID=8

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to