Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Hello, Linux: I try to install libstdc++.so.5. I use Fedora 8. My first question: which source code is suitable for Fedora 8? My next question: is possible to install the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    19

    install libstdc++.so.5


    Hello, Linux:

    I try to install libstdc++.so.5. I use Fedora 8.

    My first question: which source code is suitable for Fedora 8?

    My next question: is possible to install the file from local using "yum" command?

    My last question: is possible to install files into local directory rather than through root?

    Here is how I did:

    Download compat-libstdc++-33-3.2.3-62.ppc.rpm
    Extract libstdc++.so.5.0.7 to local directory.

    Then:

    [Yang@localhost ~]$ chmod +x libstdc++.so.5.0.7
    [Yang@localhost ~]$ su
    Password:
    [root@localhost Yang]# yum install libstdc++.so.5.0.7
    Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-8&arch=i386 error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

    It seems that the "yum" command automatically check the available update by internet. I wonder if I can install the file from local? If so, how do I do it?

    Thank you for your advice

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Download compat-libstdc++-33-3.2.3-62.ppc.rpm
    Do you have PowerPC? .ppc.rpm is for PowerPCs only.

    You can use localinstall option.
    Code:
    yum localinstall full_path_of_package
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome to Linuxforums.
    Try this link for a lot of good information on installing software in Linux.
    http://www.linuxforums.org/forum/lin...are-linux.html

    EDIT:Please note, I deleted your other thread with the same topic. Double posting is not allowed.
    Last edited by MikeTbob; 01-05-2009 at 03:56 AM. Reason: Edit
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Posts
    19
    Thank you for your suggestion.

    >Do you have PowerPC? .ppc.rpm is for PowerPCs only
    I am new to Linux. I install the Fedora from DVD. All I know it is Fedaro 8. I use a PC with Pentium 4. How could I check the vision of Fedora? Thank you.

    >You can use localinstall option.

    Here is how I did:

    [Yang@localhost Download]$ chmod +x compat-libstdc++-33-3.2.3-62.i386.rpm
    [Yang@localhost Download]$ su
    Password:
    [root@localhost Download]# yum localinstall compat-libstdc++-33-3.2.3-62.i386.rpm
    Setting up Local Package Process
    Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-8&arch=i386 error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.

    I don't have internet connected at this monmont. How could I install the file?

    Thank you very much for your help.

    Bo

  5. #5
    Just Joined!
    Join Date
    Jan 2009
    Posts
    19
    Sorry,

    I am new to the forum. I was struggling to find the way to post my message. Thank you for deleting it.

    Bo

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    I am new to the forum. I was struggling to find the way to post my message. Thank you for deleting it.
    Click on UserCP link at Top Panel. Click 'View All Subscribed Threads'.

    Why do you want to install libstdc++.so.5 ?
    Does your machine has internet access?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    If you do not have internet access then you cannot access the online repositories. In order to install libstdc++.so.5, you need to get a package called libstdc++-33 from a Fedora 8 mirror or a place like PBone. make sure you get the right package for your machines architecture (usually i386 or i686 for intel/amd based PCs).

  8. #8
    Just Joined!
    Join Date
    Jan 2009
    Posts
    19
    Quote Originally Posted by devils casper View Post
    Click on UserCP link at Top Panel. Click 'View All Subscribed Threads'.

    Why do you want to install libstdc++.so.5 ?
    Does your machine has internet access?
    Thanks.

    I need libstdc++.so.5 for a few programs such as NAMD and AutoDockTools. All these programs require libstdc++.so.5.

    I don't have intenet connection with the PC where fedora installed. Does this mean that I can't install the file?

    Thank you for your advice.

    Bo

  9. #9
    Just Joined!
    Join Date
    Jan 2009
    Posts
    19
    >In order to install libstdc++.so.5, you need to get a package called libstdc++-33 from a Fedora 8 mirror or a place like PBone

    Yes, I download the "compat-libstdc++-33-3.2.3-62.i386.rpm" and put it to the local directory.

    Without internet, is there way that I can tell Fedora to install it?

    Thank you

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Open Terminal and navigate to folder having .rpm through cd command.
    Execute this
    Code:
    su -
    rpm -ivh compat
    Hit Tab key twice. If you are in a correct folder, TAB key will complete the filename.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •