LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-04-2009, 10:13 PM   #1
ratuma2009
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 0
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

Bo
 
Old 01-04-2009, 11:17 PM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Installing a specific file means also installing the package that provides the file. Just extracting it is not sufficient. If you are going to use an RPM package then be sure it it specific to your architecture, and use "# rpm -i </path/to/package>". Installing a package from source is also appropriate, but be aware that your package management system will not be aware of its existence.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help me : error when install libstdc++.so.5 thanhpt Fedora 1 08-07-2008 04:47 AM
Need older libraries: libstdc++-3.2.4, libstdc++-libc6.-1.so.2, & compat-2004.7.1 al_moline SUSE / openSUSE 2 10-19-2007 07:01 AM
How to install libstdc++-libc6.2-2.so.3? Muzilli Fedora 19 09-13-2007 09:53 AM
Thunderbird - install problem - libstdc++.so.5 greengrocer Linux - Newbie 1 06-28-2006 06:33 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration