As j0h described, I was able to solve my problem. Here is what I have done:

  1. I read at Wikipedia about glibc. Glibc (better known as GNU C Library) has a fork for linux which is called libc6. Libc6 is available via apt.
  2. Run apt-get update to update the database.
  3. Use apt-cache policy libc6 to find out the installed version and the candidate version, whereas the installed version can be also shown with ldd --version.
  4. Install the new candidate version with apt-get install libc6
  5. Check the new version again by doing step 3 again to see your success.
Answer from eDeviser on askubuntu.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?

🌐
Devtuts
devtuts.net › en › linux › how-to-update-glibc.html
How to update glibc
June 15, 2024 - Most distributions ship tested glibc updates via their package manager: ... # Debian / Ubuntu / Kali sudo apt-get update && sudo apt-get install --reinstall libc6 # RHEL / CentOS / Rocky / AlmaLinux sudo yum reinstall glibc # or: sudo dnf reinstall glibc # openSUSE / SLES sudo zypper in --force ...
🌐
Linux Mint Forums
forums.linuxmint.com › board index › chat › chat about linux mint
Has anyone made any attempt to upgrade glibc? - Linux Mint Forums
January 27, 2024 - Hi, The libraries may receive fixes, some libraries may be added, but glibc libraries keep the same version. They come from Ubuntu, not from Linux Mint. They change only when you change the major version (from Mint 20.x to 21.x), that means when you change the version of Ubuntu on which Linux Mint is based (from 20.04 to 22.04) Linux Mint follows Ubuntu.
🌐
TecMint
tecmint.com › home › linux commands › how to install and run multiple glibc libraries in linux
How to Install and Run Multiple glibc Libraries in Linux
June 13, 2024 - Another approach is to create a symbolic link to the required version of ld-linux-x86-64.so.2 in the directory where your ld-2.30.so is expected. ln -s /usr/local/glibc-2.38/lib/ld-linux-x86-64.so.2 /usr/local/glibc-2.38/lib/ld-2.30.so
Find elsewhere
🌐
Puppy Linux Discussion Forum
forum.puppylinux.com › board index › puppy linux main › house training › users help
How exactly do you update glibc? - Puppy Linux Discussion Forum
I don't do this sort of thing myself (I agree with @fredx181's sentiment), but from what I've gathered, most folks get an __already compiled__ glibc from somewhere (from newer Ubuntu/Debian depending on Puppy's upstream distro), usually in form of a package, and then transplant it into the old puppy (by deleting the old one, and then put in the new one). ... Here's my report of experiment on my Debian Buster 64-bit by replacing GLIBC with the contents of extracted packages libc6 and libc-bin from Bookworm (GLIBC version 2.36)
🌐
OpenGenus
iq.opengenus.org › install-specific-version-of-glibc
Install specific version of Glibc
October 17, 2022 - wget http://ftp.gnu.org/gnu/libc/glibc-2.36.tar.gz tar -xvf glibc-2.36.tar.gz cd glibc-2.36 mkdir build mkdir glibc-2.36-install cd build ~/glibc/glibc-2.36/configure --prefix=$HOME/glibc/glibc-2.36-install make -j make install · With this article at OpenGenus, you must be able to install any version of Glibc.
🌐
Ubuntu
launchpad.net › ubuntu › +source › glibc › +changelog
Change log : glibc package : Ubuntu - Launchpad
glibc (2.39-3.1ubuntu1) oracular; urgency=medium * Merge from Debian experimental. Dropped changes, no longer needed after Noble: - libc6-dev: bump the Replace libc6 version to 2.37-0ubuntu2 - Adjust libc6-dev Breaks to account for binNMU vs no-change uploads - Fix Replaces version for libsotruss.so file move (LP #2042665) - d/control.in/i386: fix math-vector-fortran.h file move (LP #2039234) - d/control: declare a Breaks on older cyrus-imapd (LP #2011326) - Add Breaks on scipy (LP #2052659) Dropped changes, obsolete: - d/patches/arm/local-vfp-sysdeps.diff: Restore, and add another EABI attribute to hopefully avoid upsetting current binutils.
🌐
Jertype
jertype.com › upgrading-glibc
Using newer libc on old Linux distributions - Jertype
April 21, 2018 - This will install glibc into /opt/glibc-2.14 but if you run ldd --version it will still report the old version.
🌐
Ask Ubuntu
askubuntu.com › questions › 1481001 › how-to-downgrade-glibc-version-on-ubuntu-20-04-6
How to downgrade glibc version on Ubuntu 20.04 6 - Ask Ubuntu
@cocomac The problem with this question is that it's not possible to safely downgrade the glibc version on Ubuntu, so the best answer to this question is that there is no answer.
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.

🌐
Ubuntu Community Hub
discourse.ubuntu.com › project discussion › foundations
Migrating glibc 2.34 - Foundations - Ubuntu Community Hub
August 30, 2021 - Hi everyone, glibc is in impish-proposed now and the autopkgtests have all completed. As usual there are a bunch of failures, some glibc related and some not but all need attention before it can migrate to release. The…
🌐
DigitalOcean
digitalocean.com › community › questions › how-install-glibc-2-29-or-higher-in-ubuntu-18-04
How install GLIBC 2.29 or higher in Ubuntu 18.04 | DigitalOcean
June 6, 2020 - The first option is to migrate your application to a system that supports GLIBC higher than or equal to 2.29. This would mean a lot of work though. It seems Ubuntu 19.04 actually uses that version.