简体   繁体   English

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

[英]How does man-pages versions relate to Linux kernel and libc versions?

I am working with Ubuntu 13.04 running a Linux kernel version 3.8.0-32-generic. 我正在使用运行Linux内核版本3.8.0-32-generic的Ubuntu 13.04。 The man-pages version is: man-pages版本为:

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

I am wondering what is the link between this man-pages version and my kernel version. 我想知道此man-pages版本与我的内核版本之间的联系是什么。 While programming in C, I am using a system call which man page (in section 2) has been added in man-pages 3.47. 在C语言中进行编程时,我使用的系统调用是在man-pages 3.47中添加了man-pages页(在第2节中)。 Is there any way for me to install in a clean way this man version. 有什么办法可以让我以干净的方式安装此man版本。 By clean I mean being sure that I don't update some man pages with thing that are not supported by my Linux kernel or my Linux libc. 干净的意思是确保我不会使用我的Linux内核或Linux libc不支持的内容更新某些手册页。

Edit according to Keith answer 根据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

The result of searching for manpages packages 搜索手册页包的结果

[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.3 is the version of the man command, not of the installed man pages. 2.6.3man命令的版本,而不是已安装的手册页的版本。 It's not relevant to anything other than the man command itself. 它与man命令本身无关。 The man pages are managed separately from the man command, typically in a package whose name includes -doc . 手册man命令分开管理,通常在名称为-doc的软件包中进行管理。

Normally your package management system should keep the documentation in sync with your installed software. 通常,程序包管理系统应使文档与已安装的软件保持同步。 dpkg -l should tell you what version of each package you have. dpkg -l应该告诉您每个软件包的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM