Skip to content

Instantly share code, notes, and snippets.

@wagenet
Last active February 25, 2024 15:40
Show Gist options
  • Star 63 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save wagenet/35adca1a032cec2999d47b6c40aa45b1 to your computer and use it in GitHub Desktop.
Save wagenet/35adca1a032cec2999d47b6c40aa45b1 to your computer and use it in GitHub Desktop.
glibc Versions

glibc Versions

List of oldest supported version of top 10 Linux Distros and their glibc version according to distrowatch.com.

Summary

Out of all versions with published EOLs, 2.12 is the oldest glibc still active, found in CentOS 6.8.

If CentOS 6 and 7 are eliminated, the oldest glibc is 2.23 in Ubuntu and Slackware.

Details

Mint - 18.3 sylvia

  • EOL: 2021-04
  • glibc: 2.27

18.04 LTS bionic

  • EOL: 2023-04
  • glibc: 2.27

16.04 LTS xenial

  • EOL: 2021-04
  • glibc: 2.23

MX Linux - 17.1

  • EOL: None (Based on Debian 9 which has no EOL yet)
  • glibc: 2.24
  • Notes: MX-16 is based on Debian 8 which is EOL 2020-05

Arch Linux - 2020.01.22

  • EOL: Rolling release
  • glibc: 2.30

Gentoo - 2020-01-22

  • EOL: Rolling release
  • glibc: 2.29

Slackware - 14.2

  • EOL: None
  • glibc: 2.23
  • NOTE: No EOLs are published. 14.2 was released in 2016. Older versions have libc < 2.17.

Debian - 9 stretch

  • EOL: None announced
  • glibc: 2.24

Fedora - 30

  • EOL: None announced
  • glibc: 2.29

OpenSUSE - 15.1

  • EOL: None announced
  • glibc: 2.26

6.10

  • EOL: 2020-11
  • glibc: 2.12

7.7.1908

  • EOL: 2024-06
  • glibc: 2.17

8.1.1911

  • EOL: None announced
  • glibc: 2.28

FreeBSD - 10.3

  • EOL: 2018-04
  • glibc: N/A
Copy link

ghost commented Apr 13, 2021

thanks for this

@jlaxson
Copy link

jlaxson commented Jun 9, 2021

This is great, thanks

@wagenet
Copy link
Author

wagenet commented Dec 16, 2021

@xuyang2 thanks!

@alejandro-colomar
Copy link

alejandro-colomar commented Dec 27, 2021

CentOS 6 is dead, isn't it? So now the oldest one is from CentOS 7: 2.17 (until 2024)

@alejandro-colomar
Copy link

BTW, CentOS 8 is dead (or really, will be in a few days). But there's Rocky Linux replacing it, which has a much greater support. You could update the page with Rocky Linux info.

@donn
Copy link

donn commented Dec 31, 2021

This is incredibly useful, thank you

@Zaraka
Copy link

Zaraka commented Jan 14, 2022

DistroWatch list glibc versions for all distributions and is regularly updated e.g. https://distrowatch.com/table.php?distribution=redhat

@wagenet
Copy link
Author

wagenet commented Apr 6, 2022

@Zaraka that's where I got the information. The problem is that DistroWatch doesn't put the info all in one place for different distros and EOLs.

@alejandro-colomar
Copy link

@wagenet @xuyang2

Please add Rocky Linux, and it would also be nice to see the obsolete systems disapear (or get red) in the list.

@wagenet
Copy link
Author

wagenet commented Jun 28, 2022

I pulled this info from Distrowatch and that is still going to be the best place to get up to date data. However, they don't provide a good way to look at all this info at once which is why I made this.

I don't really have the time (or current need) to keep this list consistently up to date. It's too bad that there's no way to target PRs at gists. It could make sense to make a single-file repo for this very reason. If someone does that, I can add a link at the top of this gist.

@Sclafus
Copy link

Sclafus commented Jul 5, 2022

@AnboSkyWalker
Copy link

thanks

@alejandro-colomar
Copy link

CentOS 6 is dead, isn't it? So now the oldest one is from CentOS 7: 2.17 (until 2024)

Then, Debian Jessie uses glibc 2.19, which will live until mid-2025.

Then, SLE 12 uses glibc 2.22, which will live until Oct-2027.

Then SLE 15 uses glibc 2.26, which will live until 2031. That's far enough for me.

@mxmlnkn
Copy link

mxmlnkn commented Nov 12, 2022

@wagenet
Copy link
Author

wagenet commented Nov 12, 2022

@mxmlnkn thanks!

@fsonnenburg
Copy link

Just published a little helper script, that parses distrowatch. It may help, if you want to know, whether a linux distro supports a special package version, e.g.: give me the first ubuntu release, that supports glibc-2.14.
https://github.com/fsonnenburg/get_linux_version_for_package_version/blob/main/get_linux_version_for_package_version.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment