Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i donot why there are two glibc.
then i downloaded glibc-2.7
>rpm -ivh glibc-2.7-2.x86_64.rpm
warning: glibc-2.7-2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
glibc-common = 2.7-2 is needed by glibc-2.7-2.x86_64
glibc > 2.5 conflicts with glibc-common-2.5-49.x86_64
what should i do? thanks for you help
What the above is telling you is that glibc 2.7 requires the mentioned packages as dependencies; in order to be used.
The problem you would have here is that the Red Hat supported version of glibc for RHEL 5 is glibc-2.5
If you have a support agreement for this machine, than installing glibc 2.7 will impact your support.
If you don't need support, I suggest you install CentOS which is a RHEL clone - and thereafter canvas the web for a CentOS yum repository that has the version of glibc you are looking for.
Thereafter utilize yum to install glibc-2.7 - since yum will also resolve all your package dependencies.
i know that glibx depends on other packages. could i uninstall glibc2.5 , then install glibc2.7. because the mechine is a server, using centos may be impossible.
so any other methods could solve my problem. thanks
because the mechine is a server, using centos may be impossible.
Well installing 2.7 of glibc can also be problematic since it will impact your Red Hat support (since its an unsupported version within RHEL 5) - below is a listing from my RHN repository for a RHEL 5.5 machine:
1. You can install the glibc-2.7 package manually; but you'll also need to manually download and install its dependencies (as well as the dependencies of the dependencies and so forth). This is risky since it will impact your RHEL support in the case of a system failure
2. You can switch to CentOS and look for a supported version of glibc-2.7. Remember that the only difference between RHEL and CentOS is that one is officially supported by Red Hat. Thus you won't be subjecting your system to anything unstable by moving to CentOS.
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Thank you. it works, but I donot know why. Can you explain it?
The first package, you tried to use, has dynamic executables,
i.e. novoalign etc. depend on your system libraries.
Can be tested with the command : ldd novoalign
If you do 'ldd novoalign' with the static version, it will reply :
" not a dynamic executable ".
Statically compiled : A glibc is compiled into the executables.
They use 40 MB space. The dynamic executables : 15 MB.
So most often, all applications are "dynamic" : Use less space.