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
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.

🌐
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

🌐
Launchpad
launchpad.net › debian › +source › glibc › +changelog
Change log : glibc package : Debian - Launchpad
glibc (2.36-9+deb12u13) bookworm; urgency=medium * debian/patches/git-updates.diff: update from upstream stable branch: - Fix error reporting (false negatives) in SGID tests - Fix double-free after allocation failure in regcomp (GLIBC-SA-2025-0005 / CVE-2025-8058).
🌐
LinuxQuestions.org
linuxquestions.org › questions › linux-from-scratch-13 › how-to-upgrade-glibc-4175599783-print
LinuxQuestions.org - How to upgrade glibc
- - How to upgrade glibc (https://www.linuxquestions.org/questions/linux-from-scratch-13/how-to-upgrade-glibc-4175599783/)
🌐
GitHub
gist.github.com › sarkrui › ff0daee2cafc931085b27d01b191d401
Upgrade GLIBC on Debian · GitHub
ehco: /lib/x86_64-linux-gnu/libc.so.6: ... https://mirrors.tuna.tsinghua.edu.cn/debian sid main" >> /etc/apt/sources.list apt update && apt install libc6 ·...
🌐
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.

🌐
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
6/download https://packages.debian.org/bookworm/am ... n/download (just brute forced the files to replace in the system, no "apt" used) (perhaps for an Ubuntu based Puppy it's similar (libc6 and libc-bin), not sure) Was prepared for terrible things to happen (but for safety did this on a test install), but seems to work out well , I could make latest Spotify work on Buster this way, latest .deb (spotify-client_1.2.13.661.ga588f749_amd64.deb) requires GLIBC 2.30 and on Buster it's 2.28 by default.
🌐
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
Find elsewhere
🌐
Debian
lists.debian.org › debian-user › 2024 › 02 › msg01097.html
Re: How to upgrade the GLIBCXX and GLIBC to the specific version
February 27, 2024 - > root@raspberrypi:/home/bitmap_overlap/linux-aarch64# ./blueriver_bitmap_streamer > ./blueriver_bitmap_streamer: /lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./blueriver_bitmap_streamer) > ./blueriver_bitmap_streamer: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./blueriver_bitmap_streamer) > ./blueriver_bitmap_streamer: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./blueriver_bitmap_streamer) > ./blueriver_bitmap_streamer: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not foun
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › software › raspberry pi os
Possible to "upgrade" glibc without installing a whole new OS? - Raspberry Pi Forums
With most shared libraries, you can have multiple versions installed at the same time. Debian, and Linux in general, has had that for a long time. libc/glibc is a bit of a special case, as it has its own way of handling multiple ABI versions that is separate to the normal Linux way of handling it; it might still be possible.
🌐
Debian
packages.debian.org › glibc
Debian -- Package Search Results -- glibc
bullseye-updates (devel): GNU C Library: sources 2.31-13+deb11u5: all
🌐
Debian
packages.debian.org › source › bullseye › glibc
Debian -- Details of source package glibc in bullseye
/ Packages / bullseye (oldoldstable) / Source / misc / glibc · [ bullseye ] [ bullseye-updates ] [ bookworm ] [ trixie ] [ forky ] [ sid ] [ experimental ] Bug Reports · Developer Information · Debian Changelog · Copyright File · Debian Source Repository (Git) Debian Patch Tracker ·
🌐
Launchpad
launchpad.net › debian › buster › +source › glibc
https://launchpad.net/debian/buster/+source/glibc
All versions of glibc source in Debian · Release · The package versions that were published when the distribution release was made. glibc 2.28-10+deb10u1 (main) glibc 2.28-10 (main) glibc 2.28-8 (main) glibc 2.28-7 (main) View changelog · Current version: 2.28-10+deb10u1 ·
🌐
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 - # unpackage tar -xzvf glibc-2.38.tar.gz ... directory where the new glibc is installed, "/opt/glibc2.38" (without quotes). Then, sudo ldconfig updates the system with the path of the new library....