I was able to install libc6 2.17 in Debian Wheezy by editing the recommendations in perror's answer:

IMPORTANT

You need to exit out of your display manager by pressing CTRL+ALT+F1. Then you can stop x (slim) with sudo /etc/init.d/slim stop

(replace slim with mdm or lightdm or whatever)

Add the following line to the file /etc/apt/sources.list:

deb http://ftp.debian.org/debian experimental main

Should be changed to:

deb http://ftp.debian.org/debian sid main

Then follow the rest of perror's post:

Update your package database:

apt-get update

Install the glibc package:

apt-get -t sid install libc6-amd64 libc6-dev libc6-dbg

IMPORTANT

After updating libc6, restart the computer, and you should comment out or remove the sid source you just added (deb http://ftp.debian.org/debian sid main), or else you risk upgrading your whole distro to sid.

Answer from 0E 800 on Stack Overflow
🌐
Reddit
reddit.com › r/debian › why won't glibc be maintained also on older versions of debain ?
r/debian on Reddit: Why won't glibc be maintained also on older versions of Debain ?
February 28, 2024 -

I've updated to Debian 12 and found out that programs that I compile won't work on Debian 11, because the Glibc version on Debian 11 lag behind.
Is it intentional that in older versions of Debian the glibc isn't get updated ?
Glibc is a cruical part for compatability, and the fact that it is only backwards compatible means that the moment a developer update to the latest version of linux and compile its binaries, his program become obsolete for older versions of debian.

Top answer
1 of 3
95

I was able to install libc6 2.17 in Debian Wheezy by editing the recommendations in perror's answer:

IMPORTANT

You need to exit out of your display manager by pressing CTRL+ALT+F1. Then you can stop x (slim) with sudo /etc/init.d/slim stop

(replace slim with mdm or lightdm or whatever)

Add the following line to the file /etc/apt/sources.list:

deb http://ftp.debian.org/debian experimental main

Should be changed to:

deb http://ftp.debian.org/debian sid main

Then follow the rest of perror's post:

Update your package database:

apt-get update

Install the glibc package:

apt-get -t sid install libc6-amd64 libc6-dev libc6-dbg

IMPORTANT

After updating libc6, restart the computer, and you should comment out or remove the sid source you just added (deb http://ftp.debian.org/debian sid main), or else you risk upgrading your whole distro to sid.

2 of 3
29

Your script contains errors as well, for example if you have dos2unix installed your install works but if you don't like I did then it will fail with dependency issues.

I found this by accident as I was making a script file of this to give to my friend who is new to Linux and because I made the scripts on windows I directed him to install it, at the time I did not have dos2unix installed thus I got errors.

here is a copy of the script I made for your solution but have dos2unix installed.

#!/bin/sh
echo "deb http://ftp.debian.org/debian sid main" >> /etc/apt/sources.list
apt-get update
apt-get -t sid install libc6 libc6-dev libc6-dbg
echo "Please remember to hash out sid main from your sources list. /etc/apt/sources.list"

this script has been tested on 3 machines with no errors.

Discussions

glibc - Install libc-bin 2.36 on Debian 11 - Unix & Linux Stack Exchange
I need to upgrade libc-bin from the current stable version to 2.36 on Debian 11. I have tried to do so by downloading the .deb package from http://ftp.us.debian.org/debian/pool/main/g/glibc/libc-bin_2.36-8_amd64.deb, however when I install it with dpkg --install package.deb, I am then unable ... More on unix.stackexchange.com
🌐 unix.stackexchange.com
April 6, 2023
Debian 11 Bullseye (Stable) still uses Glibc version 2.31
deb privaxy: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by privaxy) privaxy: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by privax... More on github.com
🌐 github.com
0
March 9, 2023
`glibc` version too damn high?
The glibc version on current Debian 11 Bullseye (stable) is 2.31. More on github.com
🌐 github.com
12
November 29, 2022
How do i get a newer version of glibc? (2.38 or above?)
Not on Debian stable. But you could run another distro's userspace (one that has a sufficiently new glibc) in a container or chroot. More on reddit.com
🌐 r/debian
11
11
June 9, 2024
🌐
Debian
packages.debian.org › source › bullseye › glibc
Debian -- Details of source package glibc in bullseye
GD Graphics Library (development version) idep: perl · Larry Wall's Practical Extraction and Report Language · idep: po-debconf (>= 1.0) tool for managing templates file translations with gettext · Debian Package Source Repository (VCS: Git) https://salsa.debian.org/glibc-team/glibc.git ·
🌐
Debian
packages.debian.org › glibc
Debian -- Package Search Results -- glibc
You have searched for packages that names contain glibc in all suites, all sections, and all architectures.
🌐
GitHub
github.com › Barre › privaxy › issues › 77
Debian 11 Bullseye (Stable) still uses Glibc version 2.31 · Issue #77 · Barre/privaxy
March 9, 2023 - Debian 11 Bullseye (Stable) still uses Glibc version 2.31#77 · Copy link · mrkopl · opened · on Mar 9, 2023 · Issue body actions ·
Author   Barre
🌐
Debian
packages.debian.org › src:glibc
I Challenge Thee
I Challenge Thee · AI scrapers break the web, to use this page you'll need JavaScript enabled
🌐
GitHub
github.com › nushell › nushell › issues › 7282
`glibc` version too damn high? · Issue #7282 · nushell/nushell
November 29, 2022 - The glibc version on current Debian 11 Bullseye (stable) is 2.31.
Author   nushell
Find elsewhere
🌐
Xpack-dev-tools
xpack-dev-tools.github.io › xpack-build-box › docs › end-of-support
End-of-support schedule | XBB - The xPack Build Box
February 21, 2025 - The next base version will be GLIBC 2.31, from Debian 11, also supported by Ubuntu 20, Fedora 32, RHEL 9.
🌐
Debian
debian.org › lts › security › dla-4143-1
[SECURITY] [DLA 4143-1] glibc security update
April 30, 2025 - Debian is an operating system and a distribution of Free Software. It is maintained and updated through the work of many users who volunteer their time and effort.
🌐
Repology
repology.org › project › glibc › versions
glibc package versions - Repology
List of package versions for project glibc in all repositories
🌐
LinuxGSM
docs.linuxgsm.com › requirements › glibc
glibc | LinuxGSM_
Distro · glibc · CentOS 7 · 2.17 · CentOS 8 · 2.28 · Debian 9 · 2.24 · Debian 10 · 2.28 · Debian 11 · 2.31 · Ubuntu 16.04 LTS · 2.23 · Ubuntu 18.04 LTS · 2.27 · Ubuntu 20.04 LTS · 2.31 · distrowatch.com is also a great source ...
🌐
Launchpad
launchpad.net › debian › stretch › +source › glibc
https://launchpad.net/debian/stretch/+source/glibc
All versions of glibc source in Debian · Release · The package versions that were published when the distribution release was made. glibc 2.24-11+deb9u4 (main) glibc 2.24-11+deb9u3 (main) glibc 2.24-10 (main) View changelog · Current version: ...
🌐
Launchpad
launchpad.net › debian › +source › glibc
glibc package : Debian - Launchpad
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions · Packaging is up-to-date for GLibC 2.42
🌐
Debian
packages.debian.org › source › testing › glibc
Details of source package glibc in trixie
October 1, 2022 - JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
Snyk
security.snyk.io › snyk vulnerability database › linux › debian
glibc vulnerabilities
Security vulnerabilities and package health score for debian:11 package glibc
🌐
Debian
ftp.debian.org › debian › pool › main › g › glibc
Index of /debian/pool/main/g/glibc
Index of /debian/pool/main/g/glibc · Apache Server at ftp.debian.org Port 80
🌐
Reddit
reddit.com › r/debian › how do i get a newer version of glibc? (2.38 or above?)
r/debian on Reddit: How do i get a newer version of glibc? (2.38 or above?)
June 9, 2024 -

Basically im trying to run a game but it requires at least glibc 2.38 but it seems debian only offers 2.36 at the moment. Any way i can get a newer vesion of it?

EDIT: ended up just downloading the windows version of the game and running it with wine, im an idiot and thought i was having a problem with the sound when i first downloaded, that's why i tried the linux binary, but when i ran it with wine again i found out that the game came muted by default and that i had to press + to get the volume up

🌐
GitHub
gist.github.com › wagenet › 35adca1a032cec2999d47b6c40aa45b1
glibc Versions · GitHub
If CentOS 6 and 7 are eliminated, the oldest glibc is 2.23 in Ubuntu and Slackware. ... NOTE: No EOLs are published. 14.2 was released in 2016. Older versions have libc < 2.17.