Your best bet would probably be to run do-release-upgrade to upgrade to Ubuntu 24.04. It probably not feasible to upgrade just glibc because it's a dependency of basically everything. Answer from throwaway234f32423df on reddit.com
🌐
Reddit
reddit.com › r/ubuntu › how do i update glibc?
r/Ubuntu on Reddit: How do I update GLIBC?
July 24, 2025 -

I’m currently using GLIBC 2.35 on Ubuntu 22.04, and I want to update it (for gaming purposes).

I’m also aware that updating it isn’t as simple as typing:

“sudo apt update GLIBC yada yada”

or whatever, so I’m not entirely sure how to update it properly without bricking my install.

Any ideas on what to do?

🌐
GitHub
github.com › crosstool-ng › crosstool-ng › issues › 2181
Unexpected GLIBC requirements in generated toolchain: expected behavior? · Issue #2181 · crosstool-ng/crosstool-ng
July 11, 2024 - Is it not unexpected that glibc version 2.38 would be required given the configuration file? Does the host machine impact the glibc requirements of the built toolchain in any way? Ubuntu 24.04 has glibc 2.39 installed.
Author   crosstool-ng
Discussions

GLIBC errors - packaging Ubuntu 24.04.4 LTS pre-compiled binary
First time user to snap, so please be gentle. Trying to package a snap of my previously compiled binary (that includes its libraries) on an Ubuntu 24.04.4 LTS system using core22 (my binary is fully compatible with it). Save these two files anywhere and run to test: $ make Makefile VERSION ... More on forum.snapcraft.io
🌐 forum.snapcraft.io
0
0
August 19, 2024
How to upgrade Glibc library in Ubuntu 22.04 - Stack Overflow
I am currently running a Ubuntu 22.04 VM. It has by default Glibc 2.35. Due to a security vulnerability, I am trying to upgrade it to 2.39. I followed the following steps to download the gzipped bi... More on stackoverflow.com
🌐 stackoverflow.com
Postman Snap (v11) fails to launch on Ubuntu 24.04 LTS with GLIBC_2.28 not found error
The issue appears to be a dependency conflict related to the GNU C Library (GLIBC) bundled or required by the Snap package. System and Application Details Operating System: Ubuntu 24.04 LTS (Noble Numbat) System GLIBC Version: (Ubuntu 24.04 uses a version higher than 2.28, which should be ... More on community.postman.com
🌐 community.postman.com
9
5
November 30, 2025
Does anyone know what version of GCC Ubuntu 24.04 is shipping with?
The default version in noble is currently 13.2, see here . But version 14 is also available in universe, see here . I'd guess that it stays that way. More on reddit.com
🌐 r/linuxquestions
9
0
March 20, 2024
🌐
UbuntuUpdates
ubuntuupdates.org › package › core › noble › universe › updates › glibc
UbuntuUpdates - Package "glibc" (noble 24.04)
UbuntuUpdates.org · Raw Package Information · All versions of this package · Bug fixes · List of files in package · Repository home page · Deleted packages are displayed in grey. glibc-source · locales-all · nscd · ← Previous 1 2 Next → · About - Send Feedback to @ubuntu_updates ·
🌐
Ubuntu
launchpad.net › ubuntu › noble › +source › glibc
Noble (24.04) : glibc package : Ubuntu
Package versions containing security fixes for the released distribution.
🌐
Snapcraft
forum.snapcraft.io › t › glibc-errors-packaging-ubuntu-24-04-4-lts-pre-compiled-binary › 41508
GLIBC errors - packaging Ubuntu 24.04.4 LTS pre-compiled binary - snapcraft - snapcraft.io
August 19, 2024 - First time user to snap, so please be gentle. Trying to package a snap of my previously compiled binary (that includes its libraries) on an Ubuntu 24.04.4 LTS system using core22 (my binary is fully compatible with it).
🌐
idroot
idroot.us › home › how to install glibc on ubuntu 24.04 lts
How To Install GLIBC on Ubuntu 24.04 LTS - idroot
April 8, 2025 - GLIBC serves as the core library ... for system functionality. Upgrading GLIBC on Ubuntu 24.04 can bring significant improvements in terms of security patches, performance enhancements, and compatibility with newer software versions....
🌐
GitHub
gist.github.com › zchrissirhcz › ee13f604996bbbe312ba1d105954d2ed
Ubuntu Distro GCC GLIBC GLIBCXX C++-Standard versions · GitHub
Ubuntu Distro GCC GLIBC GLIBCXX C++-Standard versions · Raw · versions.md · GLIBC versions: https://launchpad.net/ubuntu/+source/glibc https://code.launchpad.net/ubuntu/+source/glibc · cat /etc/os-releases · Pick one of the following: ldd --version | head -n1 /lib/x86_64-linux-gnu/libc.so.6 | head -n1 /lib64/libc.so.6 | head -n1 ·
🌐
Ubuntu
packages.ubuntu.com › search
Ubuntu – Package Search Results -- glibc
noble (24.04LTS) (devel): GNU C Library: sources [universe] 2.39-0ubuntu8.7 [security]: all
Find elsewhere
Top answer
1 of 2
6

You can use following commands to bring in newer version of glibc in ubuntu 20.04, but note that as it is a system package, upgrading it may impact your system.

apt-get install gawk bison gcc make wget tar -y
wget -c https://ftp.gnu.org/gnu/glibc/glibc-2.35.tar.gz
tar -zxvf glibc-2.35.tar.gz && cd glibc-2.35
mkdir glibc-build && cd glibc-build
../configure --prefix=/opt/glibc
make
make install
2 of 2
0

Introducing glibc will break your core binaries. Updated core binaries require a newer kernel which breaks hardware drivers (like NVIDIA) that need your old kernel. This "vicious cycle" makes it impossible to use new glibc w/o breaking your system.

The only solution is to compile the unsupported drivers somehow for the new kernel. So far this is not possible.

If you try using GLIBC without updating its dependencies, you will get complaints of a version mismatch on its dependencies which go all the way down to the kernel, which is why it is not possible.

Your options are limited and it is not possible unless you use a virtual machine. But likely VM is not what you want because VMs do not have the advantage of talking to your hardware directly. They have some VM extensions for making that better but they only cover CPU and RAM, not the video/sound card, that is all emulated.

Summary

If you want to run something that needs newer hardware, there is just no way around that:

  1. You cant use unsupported hardware on newer kernel, and therefore linker, and then GLIBC.

  2. You can't use unsupported GLIBC on older kernel which relies on the new kernel features. If you try to do it by force (point to new compiled version of the new binaries) you will get an error that the linker/kernel versions are incorrect.

  3. The only solution to this is if there was a way to update your hardware drivers. If that isn't your problem, then UPGRADE UBUNTU to the latest version. If that IS your problem, then you are out of luck.

  4. Companies like NVIDIA and AMD drop video support after a few years and leave you up a creek with no paddle, stranded on an old OS unless you buy yet another video card (even if your current one is fast and does just fine, they do NOT care).

  5. Sandboxing in flatpak still needs those libraries to be able to link with your kernel. Sandboxing only fixes dependencies that are above the base system level. HOWEVER, if any of those libraries were built against a binaries that recursively rely on newer core libraries, you will still be stuck and it will still not work, below is an example:

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
(required by /tmp/.mount_my2newapp.a9fz3/usr/bin/../../usr/lib/liblzma.so.5)

As you can see here, even though the appimage/flatpak/snap was sandboxed, it still needed these new libraries further down the dependency chain.

🌐
Ask Ubuntu
askubuntu.com › questions › 1553212 › upgrading-glib
24.04 - upgrading glib? - Ask Ubuntu
July 20, 2025 - when using meson setup build I get this output: WARNING: Could not detect glib version, assuming 2.54. You may get build errors if your glib is older. Did not find CMake 'cmake' Found CMake: NO Build-
🌐
GitLab
gitlab.com › gitlab.org › merge requests › !158886
Add Ubuntu 24.04 glibc version (!158886) · Merge requests · GitLab.org / GitLab · GitLab
July 10, 2024 - What does this MR do? This updates the chart to include the glibc version included Ubuntu 24.04 as of 2024-07-10....
🌐
Ubuntu
launchpad.net › ubuntu › +source › glibc
glibc package in Ubuntu
Other versions of 'glibc' in untrusted archives. The following unsupported and untrusted Personal Archives (PPAs) provide packages of 'glibc': GCC x86-64-v2 owned by PPA for Ubuntu Toolchain Uploads (restricted)
🌐
Launchpad
launchpad.net › glibc › +packages
Linked packages : GLibC
It is used by almost all C programs and provides the most essential program interface to operating system services.
🌐
Postman
community.postman.com › help hub
Postman Snap (v11) fails to launch on Ubuntu 24.04 LTS with GLIBC_2.28 not found error - Help Hub - Postman Community
November 30, 2025 - The issue appears to be a dependency ... Ubuntu 24.04 LTS (Noble Numbat) System GLIBC Version: (Ubuntu 24.04 uses a version higher than 2.28, which should be ......
🌐
Ask Ubuntu
askubuntu.com › questions › tagged › glibc
Newest 'glibc' Questions - Ask Ubuntu
I am trying to resolve a GLIBC version mismatch issue by using dlopen to dynamically load GLIBC symbols at runtime. The goal is to run a binary compiled on Ubuntu 24.04 (GLIBC 2.34) on Ubuntu 20.04 (...
🌐
Neurodesk
neurodesk.org › getting-started › installations › ubuntu2404
Ubuntu 24.04 | Neurodesk
4 days ago - /opt/itksnap-4.0.2/lib/snap-4.0.2/ITK-SNAP: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /.singularity.d/libs/libGLX.so.0) /opt/itksnap-4.0.2/lib/snap-4.0.2/ITK-SNAP: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /.singularity.d/libs/libEGL.so.1) /opt/itksnap-4.0.2/lib/snap-4.0.2/ITK-SNAP: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /.singularity.d/libs/libGLdispatch.so.0)
🌐
Linuxier
linuxier.com › how-to-install-glibc-on-ubuntu
How to Install GLIBC on Ubuntu [22 Simple Steps] - Linuxier
May 12, 2024 - To install GLIBC on Ubuntu, start by opening your terminal and checking your current version with lsb_release -a. Next, install essential building tools using sudo apt-get install build-essential.
🌐
Ask Ubuntu
askubuntu.com › questions › 1544183 › how-to-use-dlopen-to-avoid-glibc-version-mismatch
24.04 - How to Use dlopen to Avoid GLIBC Version Mismatch? - Ask Ubuntu
March 21, 2025 - I am trying to resolve a GLIBC version mismatch issue by using dlopen to dynamically load GLIBC symbols at runtime. The goal is to run a binary compiled on Ubuntu 24.04 (GLIBC 2.34) on Ubuntu 20.04 (GLIBC 2.29) without encountering version conflicts.