2013-11-01 41 views
2

我正在使用运行Linux内核版本3.8.0-32-generic的Ubuntu 13.04。该man-pages版本是:man-pages版本与Linux内核和libc版本有什么关系?

[[email protected]] man-pages: man --version 
man 2.6.3 

我想知道这是什么man-pages版本和我的内核版本之间的联系。在C编程时,我正在使用一个系统调用,其手册页(在第2节中)已被添加到man-pages 3.47中。有没有办法让我以一种干净的方式安装这个人的版本。通过清理我的意思是确保我不会更新一些手册页,而这些手册不是由我的Linux内核或我的Linux libc不支持的。

根据基思回答

[[email protected]] 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 

搜索手册页包

[[email protected]] 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 

回答

4

2.6.3的结果编辑是man命令的版本,而不是安装手册页。这与man命令本身以外的任何其他内容无关。该人man命令分开管理,通常在名称包括-doc的包中。

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

+0

感谢您对man版本的澄清,因此文档包仅包含man工具使用的文本信息。我根据你的回答更新了我的问题,我无法找到你提到的软件包,但我有一些手册包,但它们不包含我需要的信息。 –

+0

我想,手册页文档链接到已安装的软件,现在我已经弄清楚如何以及为什么我有3.44版本的manpages和manpages-dev,而不是包括我正在寻找的文档在内的3.47版本。 –

相关问题