Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sadly, yum install libstdc++-docs doesn't work for me:

No package libstdc++-docs available.

So, I can only install it myself.

I've found the C++ man pages here, how can I install it?

I guess just put it under /usr/share/man/man3 will do the job, but I'm not sure...

Any tips?

UPDATE

Anyone knows how to install c+ man pages manually(no yum,no rpm)?

share|improve this question

migrated from stackoverflow.com May 30 '11 at 19:35

This question came from our site for professional and enthusiast programmers.

    
have you tried yum search to see if you have a typo in the package name? –  Didier Trosset May 30 '11 at 15:02
    
@Didier Trosset ,I did,but no luck. –  compile-fan May 30 '11 at 15:06
    
which distribution are you using, exactly? –  Hasturkun May 30 '11 at 15:33

1 Answer 1

I'm running Debian so the package names may be diffent, but you might as well give it a try:

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  

I think libstdc++6-4.5-doc might be what you're looking for? Maybe the package name is the same in your distro's repositories?

Anyway, I don't know yum very well (only used it twice), but if I remember correctly, it's got a search command as well, just like aptitude has. Doesn't yum search libstdc++ give you anything useful?

--

Found something that's probably more useful to you: ftp://fr2.rpmfind.net/linux/fedora/releases/15/Everything/i386/os/Packages/libstdc++-docs-4.6.0-6.fc15.i686.rpm

Found it here: http://fr2.rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B-docs

share|improve this answer
    
@RobinJ,that rpm doesn't work for me,as mine is fc6,pretty old.. –  compile-fan May 30 '11 at 15:19
    
Uhm... fc6? Fedora Core 6, you mean? These RPM packages seem to be for Fedora 6: icewalkers.com/rpm/libstdc%2B%2B/fedora-core-6/download/… –  RobinJ May 30 '11 at 15:43
    
@ RobinJ,right.Let me try it:) –  compile-fan May 30 '11 at 15:48
    
@ RobinJ,non of the links work:( I think the only option is to install those man pages manually... –  compile-fan May 30 '11 at 15:55
    
I downloaded the libstdc++6-4.5-doc package from the Ubuntu repositories (aptitude download libstdc++6-4.5-doc), extracted it, removed unneeded files, and packed it together again. If you just put the files in the corresponding directories on your filesystem, it should work I expect. Uploading... –  RobinJ May 30 '11 at 16:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.