2013-11-01 44 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版本。 –

相關問題