遗憾的是,yum install libstdc++-docs
对我不起作用:
No package libstdc++-docs available.
所以,我只能自己安装。
我找到了 C++ 手册页这里,我该如何安装它?
我想只要把它放在下面/usr/share/man/man3
就可以了,但我不确定......
有小费吗?
更新
有人知道如何手动安装 c+ 手册页(无需 yum,无需 rpm)吗?
答案1
我正在运行 Debian,因此软件包名称可能不同,但您不妨尝试一下:
robin@Robin-Latitude-D620 ~ $ aptitude search libstdc++
v libstdc++-dev -
v libstdc++-dev-armel-cross -
v libstdc++-dev-armel-dcv1 -
p libstdc++5 - The GNU Standard C++ Library v3
i libstdc++6 - De GNU stdc++ bibliotheek versie 3
p libstdc++6-4.3-dbg - The GNU Standard C++ Library v3 (debugging
p libstdc++6-4.3-dev - De GNU Standaard C++ bibliotheek v3 (voor
p libstdc++6-4.3-doc - The GNU Standard C++ Library v3 (documenta
p libstdc++6-4.3-pic - The GNU Standard C++ Library v3 (shared li
p libstdc++6-4.4-dbg - The GNU Standard C++ Library v3 (debugging
p libstdc++6-4.4-dbg-armel-cross - The GNU Standard C++ Library v3 (debugging
i A libstdc++6-4.4-dev - The GNU Standard C++ Library v3 (developme
p libstdc++6-4.4-dev-armel-cross - De GNU Standaard C++ bibliotheek v3 (voor
p libstdc++6-4.4-doc - The GNU Standard C++ Library v3 (documenta
p libstdc++6-4.4-pic - The GNU Standard C++ Library v3 (shared li
p libstdc++6-4.4-pic-armel-cross - The GNU Standard C++ Library v3 (shared li
p libstdc++6-4.5-dbg - The GNU Standard C++ Library v3 (debugging
p libstdc++6-4.5-dbg-armel-cross - The GNU Standard C++ Library v3 (debugging
p libstdc++6-4.5-dev - The GNU Standard C++ Library v3 (developme
p libstdc++6-4.5-dev-armel-cross - De GNU Standaard C++ bibliotheek v3 (voor
p libstdc++6-4.5-doc - The GNU Standard C++ Library v3 (documenta
p libstdc++6-4.5-pic - The GNU Standard C++ Library v3 (shared li
p libstdc++6-4.5-pic-armel-cross - The GNU Standard C++ Library v3 (shared li
p libstdc++6-armel-cross - The GNU Standard C++ Library v3
v libstdc++6-armel-dcv1 -
v libstdc++6-dbg-armel-dcv1 -
v libstdc++6-dev-armel-dcv1 -
v libstdc++6-pic-armel-dcv1
我认为 libstdc++6-4.5-doc 可能是您要找的?也许您的发行版存储库中的软件包名称相同?
无论如何,我不知道好吃非常好(只用过两次),但如果我记得正确的话,它有一个搜索命令也是如此,就像 aptitude 一样。yum 搜索 libstdc++给你什么有用的东西吗?
--
发现一些可能对你更有用的东西:ftp://fr2.rpmfind.net/linux/fedora/releases/15/Everything/i386/os/Packages/libstdc++-docs-4.6.0-6.fc15.i686.rpm
在这里找到:http://fr2.rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B-docs