LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   install libstdc++.so.5 (https://www.linuxquestions.org/questions/linux-desktop-74/install-libstdc-so-5-a-694996/)

ratuma2009 01-04-2009 10:13 PM

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

Xian 01-04-2009 11:17 PM

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.


All times are GMT -5. The time now is 06:40 AM.