You can use dnf to upgrade it - dnf update -y glibc.

Full example from a container on my machine:

[root@0df679e04d17 /]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
[root@0df679e04d17 /]# rpm -qa glibc
glibc-2.28-101.el8.x86_64
[root@50a1768b4fcf /]# dnf update glibc
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Red Hat Universal Base Image 8 (RPMs) - BaseOS                                                                                                                                       1.1 MB/s | 827 kB     00:00
Red Hat Universal Base Image 8 (RPMs) - AppStream                                                                                                                                    3.7 MB/s | 3.2 MB     00:00
Red Hat Universal Base Image 8 (RPMs) - CodeReady Builder                                                                                                                            138 kB/s |  29 kB     00:00
Dependencies resolved.
=====================================================================================================================================================================================================================
 Package                                                     Architecture                                Version                                             Repository                                         Size
=====================================================================================================================================================================================================================
Upgrading:
 glibc                                                       x86_64                                      2.28-211.el8                                        ubi-8-baseos                                      2.2 M
 glibc-common                                                x86_64                                      2.28-211.el8                                        ubi-8-baseos                                      1.0 M
 glibc-minimal-langpack                                      x86_64                                      2.28-211.el8                                        ubi-8-baseos                                       63 k
Installing weak dependencies:
 glibc-gconv-extra                                           x86_64                                      2.28-211.el8                                        ubi-8-baseos                                      1.5 M
 glibc-langpack-en                                           x86_64                                      2.28-211.el8                                        ubi-8-baseos                                      825 k

Transaction Summary
=====================================================================================================================================================================================================================
Install  2 Packages
Upgrade  3 Packages

Total download size: 5.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): glibc-minimal-langpack-2.28-211.el8.x86_64.rpm                                                                                                                                401 kB/s |  63 kB     00:00
(2/5): glibc-langpack-en-2.28-211.el8.x86_64.rpm                                                                                                                                     2.5 MB/s | 825 kB     00:00
(3/5): glibc-common-2.28-211.el8.x86_64.rpm                                                                                                                                          1.7 MB/s | 1.0 MB     00:00
(4/5): glibc-gconv-extra-2.28-211.el8.x86_64.rpm                                                                                                                                     1.6 MB/s | 1.5 MB     00:00
(5/5): glibc-2.28-211.el8.x86_64.rpm                                                                                                                                                 1.8 MB/s | 2.2 MB     00:01
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                4.0 MB/s | 5.6 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                             1/1
  Installing       : glibc-gconv-extra-2.28-211.el8.x86_64                                                                                                                                                       1/8
  Running scriptlet: glibc-gconv-extra-2.28-211.el8.x86_64                                                                                                                                                       1/8
  Upgrading        : glibc-common-2.28-211.el8.x86_64                                                                                                                                                            2/8
  Running scriptlet: glibc-2.28-211.el8.x86_64                                                                                                                                                                   3/8
  Upgrading        : glibc-2.28-211.el8.x86_64                                                                                                                                                                   3/8
  Running scriptlet: glibc-2.28-211.el8.x86_64                                                                                                                                                                   3/8
  Installing       : glibc-langpack-en-2.28-211.el8.x86_64                                                                                                                                                       4/8
  Upgrading        : glibc-minimal-langpack-2.28-211.el8.x86_64                                                                                                                                                  5/8
  Cleanup          : glibc-minimal-langpack-2.28-101.el8.x86_64                                                                                                                                                  6/8
  Cleanup          : glibc-2.28-101.el8.x86_64                                                                                                                                                                   7/8
  Cleanup          : glibc-common-2.28-101.el8.x86_64                                                                                                                                                            8/8
  Running scriptlet: glibc-common-2.28-101.el8.x86_64                                                                                                                                                            8/8
  Running scriptlet: glibc-common-2.28-211.el8.x86_64                                                                                                                                                            8/8
  Verifying        : glibc-langpack-en-2.28-211.el8.x86_64                                                                                                                                                       1/8
  Verifying        : glibc-gconv-extra-2.28-211.el8.x86_64                                                                                                                                                       2/8
  Verifying        : glibc-minimal-langpack-2.28-211.el8.x86_64                                                                                                                                                  3/8
  Verifying        : glibc-minimal-langpack-2.28-101.el8.x86_64                                                                                                                                                  4/8
  Verifying        : glibc-2.28-211.el8.x86_64                                                                                                                                                                   5/8
  Verifying        : glibc-2.28-101.el8.x86_64                                                                                                                                                                   6/8
  Verifying        : glibc-common-2.28-211.el8.x86_64                                                                                                                                                            7/8
  Verifying        : glibc-common-2.28-101.el8.x86_64                                                                                                                                                            8/8
Installed products updated.

Upgraded:
  glibc-2.28-211.el8.x86_64                                     glibc-common-2.28-211.el8.x86_64                                     glibc-minimal-langpack-2.28-211.el8.x86_64

Installed:
  glibc-gconv-extra-2.28-211.el8.x86_64                                                                     glibc-langpack-en-2.28-211.el8.x86_64

Complete!
[root@0df679e04d17 /]# rpm -qa glibc
glibc-2.28-211.el8.x86_64
Answer from Mureinik on Stack Exchange
🌐
Posit Community
forum.posit.co › posit professional & hosted products
Python package requires GLIBC version 2.29 but RHEL 8 cannot support it; attempting to use gcc toolkit but need help - Posit Professional & Hosted Products - Posit Community
July 29, 2024 - One of the functions from the package has a GLIBC-2.29 dependency that my Posit environment won't support (RHEL 8 can only support up to 2.28 (What glibc version is shipped with a particular Red Hat Enterprise Linux? - Red Hat Customer Portal)). I installed one of the gcc-toolset packages ...
Top answer
1 of 1
5

You can use dnf to upgrade it - dnf update -y glibc.

Full example from a container on my machine:

[root@0df679e04d17 /]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
[root@0df679e04d17 /]# rpm -qa glibc
glibc-2.28-101.el8.x86_64
[root@50a1768b4fcf /]# dnf update glibc
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Red Hat Universal Base Image 8 (RPMs) - BaseOS                                                                                                                                       1.1 MB/s | 827 kB     00:00
Red Hat Universal Base Image 8 (RPMs) - AppStream                                                                                                                                    3.7 MB/s | 3.2 MB     00:00
Red Hat Universal Base Image 8 (RPMs) - CodeReady Builder                                                                                                                            138 kB/s |  29 kB     00:00
Dependencies resolved.
=====================================================================================================================================================================================================================
 Package                                                     Architecture                                Version                                             Repository                                         Size
=====================================================================================================================================================================================================================
Upgrading:
 glibc                                                       x86_64                                      2.28-211.el8                                        ubi-8-baseos                                      2.2 M
 glibc-common                                                x86_64                                      2.28-211.el8                                        ubi-8-baseos                                      1.0 M
 glibc-minimal-langpack                                      x86_64                                      2.28-211.el8                                        ubi-8-baseos                                       63 k
Installing weak dependencies:
 glibc-gconv-extra                                           x86_64                                      2.28-211.el8                                        ubi-8-baseos                                      1.5 M
 glibc-langpack-en                                           x86_64                                      2.28-211.el8                                        ubi-8-baseos                                      825 k

Transaction Summary
=====================================================================================================================================================================================================================
Install  2 Packages
Upgrade  3 Packages

Total download size: 5.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): glibc-minimal-langpack-2.28-211.el8.x86_64.rpm                                                                                                                                401 kB/s |  63 kB     00:00
(2/5): glibc-langpack-en-2.28-211.el8.x86_64.rpm                                                                                                                                     2.5 MB/s | 825 kB     00:00
(3/5): glibc-common-2.28-211.el8.x86_64.rpm                                                                                                                                          1.7 MB/s | 1.0 MB     00:00
(4/5): glibc-gconv-extra-2.28-211.el8.x86_64.rpm                                                                                                                                     1.6 MB/s | 1.5 MB     00:00
(5/5): glibc-2.28-211.el8.x86_64.rpm                                                                                                                                                 1.8 MB/s | 2.2 MB     00:01
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                4.0 MB/s | 5.6 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                             1/1
  Installing       : glibc-gconv-extra-2.28-211.el8.x86_64                                                                                                                                                       1/8
  Running scriptlet: glibc-gconv-extra-2.28-211.el8.x86_64                                                                                                                                                       1/8
  Upgrading        : glibc-common-2.28-211.el8.x86_64                                                                                                                                                            2/8
  Running scriptlet: glibc-2.28-211.el8.x86_64                                                                                                                                                                   3/8
  Upgrading        : glibc-2.28-211.el8.x86_64                                                                                                                                                                   3/8
  Running scriptlet: glibc-2.28-211.el8.x86_64                                                                                                                                                                   3/8
  Installing       : glibc-langpack-en-2.28-211.el8.x86_64                                                                                                                                                       4/8
  Upgrading        : glibc-minimal-langpack-2.28-211.el8.x86_64                                                                                                                                                  5/8
  Cleanup          : glibc-minimal-langpack-2.28-101.el8.x86_64                                                                                                                                                  6/8
  Cleanup          : glibc-2.28-101.el8.x86_64                                                                                                                                                                   7/8
  Cleanup          : glibc-common-2.28-101.el8.x86_64                                                                                                                                                            8/8
  Running scriptlet: glibc-common-2.28-101.el8.x86_64                                                                                                                                                            8/8
  Running scriptlet: glibc-common-2.28-211.el8.x86_64                                                                                                                                                            8/8
  Verifying        : glibc-langpack-en-2.28-211.el8.x86_64                                                                                                                                                       1/8
  Verifying        : glibc-gconv-extra-2.28-211.el8.x86_64                                                                                                                                                       2/8
  Verifying        : glibc-minimal-langpack-2.28-211.el8.x86_64                                                                                                                                                  3/8
  Verifying        : glibc-minimal-langpack-2.28-101.el8.x86_64                                                                                                                                                  4/8
  Verifying        : glibc-2.28-211.el8.x86_64                                                                                                                                                                   5/8
  Verifying        : glibc-2.28-101.el8.x86_64                                                                                                                                                                   6/8
  Verifying        : glibc-common-2.28-211.el8.x86_64                                                                                                                                                            7/8
  Verifying        : glibc-common-2.28-101.el8.x86_64                                                                                                                                                            8/8
Installed products updated.

Upgraded:
  glibc-2.28-211.el8.x86_64                                     glibc-common-2.28-211.el8.x86_64                                     glibc-minimal-langpack-2.28-211.el8.x86_64

Installed:
  glibc-gconv-extra-2.28-211.el8.x86_64                                                                     glibc-langpack-en-2.28-211.el8.x86_64

Complete!
[root@0df679e04d17 /]# rpm -qa glibc
glibc-2.28-211.el8.x86_64
Discussions

c - How to install latest glibc (version 2.29) beside system installed one & compile a program? - Stack Overflow
Based on This Stackoverflow link I downloaded & installed glibc v2.29 in "/usr/local/glibc" path of Linux OS. Then based on this Stackoverflow link I tried to compile This Example, But I got More on stackoverflow.com
🌐 stackoverflow.com
Upgrade glibc_2.28 to 2.29
I’m on Rocky Linux release 8.6. A software “Cura 5.0” requires glibc_2.29 to running. Can I upgrade my current version of glibc? If so, how? More on forums.rockylinux.org
🌐 forums.rockylinux.org
2
0
October 14, 2022
Cannot install Warp on Red Hat Enterprise Linux release 8.9 (Ootpa) due to GLIBC 2.29 requirement
Red Hat Enterprise Linux 8 for ... 217 kB/s | 4.1 kB 00:00 edge 73 kB/s | 1.5 kB 00:00 epel-rhel8-x86_64 84 kB/s | 2.3 kB 00:00 Error: Problem: conflicting requests - nothing provides libc.so.6(GLIBC_2.29)(64bit) needed by warp-terminal-v0.2024.02.20.08.01.stable_01-1.x86_64 ... More on github.com
🌐 github.com
11
February 23, 2024
How to install GLIBC version 2.29 in the Linux Binary Compat layer? | The FreeBSD Forums
Activitywatch is a program that is used to track the amount of time that is spent on a computer, they only officially have support for Windows, Linux and MacOS. I have installed the Linux Binary compatibility layer and installed activitywatch under /compat/ubuntu/opt/activitywatch, when I run... More on forums.freebsd.org
🌐 forums.freebsd.org
September 5, 2023
🌐
GitHub
github.com › jdx › mise › discussions › 7813
Build requiring GLIBC 2.28 instead of 2.29 for RHEL 8 · jdx/mise · Discussion #7813
The issue you're hitting is likely with the aarch64 build, which requires glibc 2.31. The reason for this is that the aarch64 build needs a newer toolchain to support ARMv8.2-A crypto instructions required by the aws-lc-rs dependency. Unfortunately, the older cross-compilation images don't have assemblers that support these instructions. Recommended solution: For enterprise environments like RHEL 8 where glibc compatibility matters, the musl builds are the recommended approach.
Author   jdx
Top answer
1 of 2
3

First of all, don't put an alternate libc (or alternate version of your libc) in a path searched by the normal include and library search (both link-time and runtime library search) for your main system one. This is a recipe for disaster. Installing a different glibc in /usr/local/ does avoid clobbering your system one, but now you just have two installed in places where the same tools can see and use them.

To do this right, you really need a full separate toolchain (gcc, binutils) in some completely separate path (like ~/my_glibc_root/... or /opt/alt_glibc_root/...). I'm not sure if there's a recommended way to do this. The glibc build procedures in Linux From Scratch might be a good place to look for ideas. In theory it can be done in a single stage; I do that with musl libc in musl-cross-make by careful use of intermediate make rules in the gcc build system. But applying the same idea to glibc probably requires some extra care.

2 of 2
0

Second Try Command: In second try, I am using "-I" & "-L" GCC command options.

gcc -Wall -g -I/usr/local/glibc/include -o main main.c -L/usr/local/glibc/lib -Wl,--rpath=/usr/local/glibc/lib -Wl,--dynamic-linker=/usr/local/glibc/lib/ld-linux-x86-64.so.2

This command is almost correct. The thrd_create and thrd_join functions are defined in libpthread, which you didn't link against.

Add -pthread to your compile command, and the link should succeed.

P.S. R's advice of not installing alternate GLIBC into /usr/local is also a good one.

🌐
Red Hat
access.redhat.com › solutions › 38634
What glibc version is shipped with a particular Red Hat Enterprise Linux? - Red Hat Customer Portal
December 2, 2025 - What glibc version is shipped with a particular Red Hat Enterprise Linux update or minor release? We need a later GNU C library for our project but we cannot find it from Red Hat Enterprise Linux. Is
🌐
Rocky Linux Forum
forums.rockylinux.org › rocky linux help & support
Upgrade glibc_2.28 to 2.29 - Rocky Linux Help & Support - Rocky Linux Forum
October 14, 2022 - I’m on Rocky Linux release 8.6. A software “Cura 5.0” requires glibc_2.29 to running. Can I upgrade my current version of glibc? If so, how?
🌐
GitHub
github.com › warpdotdev › Warp › issues › 4258
Cannot install Warp on Red Hat Enterprise Linux release 8.9 (Ootpa) due to GLIBC 2.29 requirement · Issue #4258 · warpdotdev/Warp
February 23, 2024 - ./Warp-x86_64.AppImage ./Warp-x86_64.AppImage: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./Warp-x86_64.AppImage) ./Warp-x86_64.AppImage: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by ./Warp-x86_64.AppImage) ./Warp-x86_64.AppImage: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_Warp-xSuRAAj/usr/bin/../lib/libsqlite3.so.0) ... ldd --version ldd (GNU libc) 2.28 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. Download rpm or AppImage on RHEL 8.9 or a system with an older GLLIBC than 2.29.
Author   warpdotdev
🌐
Red Hat
access.redhat.com › discussions › 3182051
Red Hat Customer Portal - Access to 24x7 support and knowledge
September 13, 2017 - i'm trying to install the glibc package but i'm facing this message" does not update installed package. Error: Nothing to do" can you support me · Best Regards Ilyasse
Find elsewhere
🌐
FreeBSD
forums.freebsd.org › server and networking › emulation and virtualization
How to install GLIBC version 2.29 in the Linux Binary Compat layer? | The FreeBSD Forums
September 5, 2023 - /usr/bin/ld: /root/glibc-2.29/build/elf/librtld.os: in function `_rtld_main_check': /root/glibc-2.29/elf/../sysdeps/x86/dl-prop.h:33: undefined reference to `_dl_cet_check' /usr/bin/ld: /root/glibc-2.29/elf/../sysdeps/x86/dl-prop.h:33: undefined reference to `_dl_cet_check' /usr/bin/ld: /root/glibc-2.29/elf/../sysdeps/x86/dl-prop.h:33: undefined reference to `_dl_cet_check' /usr/bin/ld: /root/glibc-2.29/build/elf/librtld.os: in function `_dl_open_check': /root/glibc-2.29/elf/../sysdeps/x86/dl-prop.h:41: undefined reference to `_dl_cet_open_check' /usr/bin/ld: /root/glibc-2.29/build/elf/ld.so.n
🌐
The Linux Cluster
thelinuxcluster.com › 2023 › 06 › 30 › compiling-glibc-2-29-at-centos-7
Compiling glibc-2.29 at CentOS-7 – The Linux Cluster
July 9, 2023 - Step 1: Download the glibc To Download ... cd glibc-2.29 # mkdir build # cd build Step 3: Compile and install # ../configure --prefix=/usr/local/glibc-2.29 # make -j8 # make install Step 4: Errors encountered ..... checking ...
🌐
Reddit
reddit.com › r/redhat › is it possible to install older glibc (from rhel7) on rhel 8?
r/redhat on Reddit: Is it possible to install older glibc (from Rhel7) on rhel 8?
May 21, 2023 -

Hello everyone,

Is there a safe way to install older glibc on redhat 8 so I can get legacy applications that support older rhel 7 to run?

I was able to install the older rpm into a second directory, but when I tried to launch the application, it didn't use that glibc. If I try to ld_library_path, it breaks everything else since, of course, rhel 8 uses newer system glibc. Is there a way around this? Or do I need to use chroot or container of centos7?

Thanks

🌐
GitHub
github.com › VSCodium › vscodium › issues › 2250
Installing on RHEL-8.10 fails - nothing provides libm.so.6(GLIBC_2.29)(64bit) · Issue #2250 · VSCodium/vscodium
March 10, 2025 - Error: Problem 1: cannot install the best update candidate for package codium-1.97.2.25045-el9.x86_64 - nothing provides libm.so.6(GLIBC_2.29)(64bit) needed by codium-1.98.0.25067-el9.x86_64 from gitlab.com_paulcarroty_vscodium_repo Problem 2: cannot install the best update candidate for package codium-insiders-1.97.0.25026-el9.x86_64 - nothing provides libm.so.6(GLIBC_2.29)(64bit) needed by codium-insiders-1.98.0.25067-el9.x86_64 from gitlab.com_paulcarroty_vscodium_repo
Author   VSCodium
🌐
Reddit
reddit.com › r/switchroot › updating glibc to 2.29
r/switchroot on Reddit: Updating GLIBC to 2.29
May 24, 2023 -

I am trying to run a simple graphical application. Upon running it via the Terminal, it prompts me with an information that GLIBC 2.29 is not found on the system, because Switchroot Ubuntu runs a slightly lower version by default. I attempted to update it using instructions I found online for that, which essentially boil to building it on my own machine, but they ended up with an error at some point. Does anyone know how to perform this correctly on Ubuntu 18.04 for Nintendo Switch OLED?

🌐
Intel Community
community.intel.com › t5 › Analyzers › vtune-2025-1-0-needs-glibc-2-29-on-RHEL8 › m-p › 1686719
vtune 2025.1.0 needs glibc 2.29 on RHEL8 - Intel Community
May 6, 2025 - on Linux RHEL8 we get with Intel oneAPI 2025.1.0 vtune-gui: cat /etc/redhat-release Red Hat Enterprise Linux release 8.10 (Ootpa) vtune-gui: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by vtune-gui) vtune-gui: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /vtune/2025.1/bin64/libffmpeg.so) So it cannot run on a RHEL8 machine.
🌐
Python Forum
python-forum.io › thread-42505.html
GLIBC dependency issue
I am trying to use the open source toolkit, 'Aequitas' (https://github.com/dssg/aequitas). One of the functions from the package has a GLIBC-2.29 dependency that my Posit environment won't support (RHEL 8 can only support up to 2.28 (https://access.r...
🌐
Remi's RPM Repository
rpms.remirepo.net › rpmphp › zoom.php
Packages in Fedora / RHEL / CentOS / EPEL - Package: glibc
Show more informations from pkgdb · The Fedora Project is maintained and driven by the community and sponsored by Red Hat. This is a community maintained site. Red Hat is not responsible for content
🌐
GitHub
github.com › microsoft › azuredatastudio › issues › 23977
ADS installation failure on RHEL 8 (glibc-2.29 not found) · Issue #23977 · microsoft/azuredatastudio
July 25, 2023 - OS Version: RHEL 8.8 (Linux Kernel 4.18.0-477.10.1.el8_8) x86_64 · Steps to Reproduce: Download ADS RPM for Linux · Installation fails with error below. Use RHEL 9 instead · Manually install glibc-2.29 and add to Library Path and re-install ADS ...
Author   microsoft
🌐
GitHub
github.com › arkmanager › ark-server-tools › wiki › Install-of-required-versions-of-glibc-and-gcc-on-RHEL-CentOS
Install of required versions of glibc and gcc on RHEL CentOS
June 23, 2015 - cd /tmp wget http://ftp.gnu.org/gnu/glibc/glibc-2.16.0.tar.gz tar -xvzf glibc-2.16.0.tar.gz cd glibc-2.16.0 mkdir glibc-build cd glibc-build ../configure --prefix='/usr'
Author   arkmanager
🌐
Red Hat
access.redhat.com › discussions › c4c17284-0e16-4c9c-b2c9-291a3276391b
Upgrading glibc
March 18, 2026 - I am using a VM running RHEL 8.8, and our OpenShift Container Platform cluster is currently on version 4.20.15. ... ./oc: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./oc) ./oc: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./oc) ./oc: /lib64/libc.so.6: version ...