现在的位置: 首页 > 综合 > 正文

安装 man pages

2013年11月25日 ⁄ 综合 ⁄ 共 617字 ⁄ 字号 评论关闭

前一阵子在网上下了一个  fedora的虚拟机文件.

装好之后,就可以直接用了。

今天发现,C库函数的帮助文件没有装上。

在网上查到了安装方法:

1)安装  standard C library  help files:

yum install man-pages

2)安装  C++ STL library man pages:

yum insall libstdc++-docs

 

查看  std::iostream :

man std::iostream

在 debian上 稍微复杂些。

首先,查看当前安装的 c++ 版本:

dpkg --get-selections | grep stdc++

libstdc++6                    install
libstdc++6-4.4-dev     install

然后,安装相应版本的帮助文件:

aptitude install libstdc++6-4.4-doc

安装 gcc帮助文件:

 先检查一下 gcc的版本,然后用

apt-cache search gcc

查出对应的 doc

如果找不到的话,需要修改一下 源,把 non-free加进去,然后就应该能找到了。

安装 cpp 帮助文件:

aptitude install cpp-doc

安装 stl template 帮助文件:

aptitude install stl-manual

安转 C库帮助文件:

aptitude install glibc-doc

安装编译器,连接器等 man pages

aptitude install  binutils-doc

抱歉!评论已关闭.