gpt4 book ai didi

c - 手册页版本与 Linux 内核和 libc 版本有何关系?

转载 作者:太空狗 更新时间:2023-10-29 11:45:17 24 4
gpt4 key购买 nike

我正在使用运行 Linux 内核版本 3.8.0-32-generic 的 Ubuntu 13.04。 手册页 版本是:

[manu@laptop] man-pages: man --version
man 2.6.3

我想知道这个手册页 版本和我的内核版本之间有什么联系。在用 C 编程时,我正在使用一个系统调用,该系统调用已在 man-pages 3.47 中添加了该手册页(在第 2 节中)。有什么办法可以让我以干净的方式安装这个 man 版本。我所说的干净是指确保我不会使用我的 Linux 内核或 Linux libc 不支持的内容来更新某些手册页。

根据Keith的回答编辑

[manu@laptop] man-pages: dpkg -l | grep "\-doc"
ii libx11-doc 2:1.5.0-1ubuntu1.1 all X11 client-side library (development documentation)
ii lmbench-doc 3.0-a9-1 all Documentation for the lmbench benchmark suite
ii mozart-doc 1.4.0-8ubuntu1 all Mozart Programming System (Documentation)
ii perl-doc 5.14.2-21 all Perl documentation
ii texlive-doc-base 2012.20120611-1 all TeX Live: TeX Live documentation
ii texlive-fonts-recommended-doc 2012.20120611-5 all TeX Live: Documentation files for texlive-fonts-recommended
ii texlive-latex-base-doc 2012.20120611-5 all TeX Live: Documentation files for texlive-latex-base
ii texlive-latex-extra-doc 2012.20120611-2 all TeX Live: Documentation files for texlive-latex-extra
ii texlive-latex-recommended-doc 2012.20120611-5 all TeX Live: Documentation files for texlive-latex-recommended
ii texlive-pictures-doc 2012.20120611-5 all TeX Live: Documentation files for texlive-pictures
ii texlive-pstricks-doc 2012.20120611-2 all TeX Live: Documentation files for texlive-pstricks
ii texlive-science-doc 2012.20120611-2 all TeX Live: Documentation files for texlive-science
ii transcode-doc 3:1.1.7-4 all Text console video-stream processing tool (documentation)
ii ubuntu-docs 13.04.3 all Ubuntu Desktop Guide
ii xorg-docs-core 1:1.6-1ubuntu2 all Core documentation for the X.org X Window System
ii xorg-sgml-doctools 1:1.10-1 all Common tools for building X.Org SGML documentation

搜索manpages包的结果

[manu@laptop] man-pages: dpkg -l | grep "manpages"
ii manpages 3.44-0ubuntu1 all Manual pages about using a GNU/Linux system
ii manpages-dev 3.44-0ubuntu1 all Manual pages about using GNU/Linux for development
ii manpages-posix 2.16-1 all Manual pages about using POSIX system
ii manpages-posix-dev 2.16-1 all Manual pages about using a POSIX system for development

最佳答案

2.6.3man 命令的版本,而不是已安装手册页的版本。它与 man 命令本身无关。 man pagesman 命令分开管理,通常位于名称包含 -doc 的包中。

通常您的包管理系统应该使文档与您安装的软件保持同步。 dpkg -l 应该告诉您每个包的版本。

关于c - 手册页版本与 Linux 内核和 libc 版本有何关系?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19732942/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com