Which is the best way to install glibc?

Which is the best way to install glibc?

In general, installing through yum is preferred over the DVD since yum will automatically fetch the latest RPMs whereas the DVD might have an older version that has some bugs. If you really want the DVD method, you’ll need to get a DVD that matches the RHEL 6 release you have installed.

Which is the latest version of glibc for RHEL 6?

It looks like RHEL 6 has always had glibc 2.12 but the beta release had glibc 2.11. I really can’t find a definitive source that says what the 6-Beta had but find mentions of 2.11 on 6-Beta around the web like here and here. All of the CentOS src.rpms for 6.0 to 6.3 are glic 2.12 so the final release has always had 2.12.

Why did I upgrade glibc to 2.4?

I upgraded glibc for a reason that isn’t around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the command below shows, but I’m not able to delete the 2.9 version.

Which is the best way to install GCC?

If you’re just trying to install gcc, you can run yum install gcc to get GCC 4.4.x. In general, installing through yum is preferred over the DVD since yum will automatically fetch the latest RPMs whereas the DVD might have an older version that has some bugs.

Where do I find the RPM file for glibc?

You choose option 1), but do not have the rpm file in your current working directory. The rpm database query rpm -q shows that the software package (rpm content) is already installed.

How to load glibc on Old Linux distributions?

You might find advice that suggests using LD_LIBRARY_PATH (ex: LD_LIBRARY_PATH=/opt/glibc-2.14/lib ), but this can cause problems. When you specify the LD_LIBRARY_PATH you are giving your system an additional path to look for libraries to dynamically load. However, the lib folder contains many other libraries that could be loaded.