homebrew cask changed system compatibility, no longer supports ubuntu < 24.04

Resolved 💬 6 comments Opened Oct 23, 2025 by novas0x2a Closed Oct 31, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

n/a

What subscription do you have?

n/a

Which model were you using?

_No response_

What platform is your computer?

linux

What issue are you seeing?

Last week, the homebrew install switched from a formula (source code build) to a cask (prebuilt binary). This had a potentially unintended effect: the linux prebuilt glibc binaries require glibc 2.39 (available starting from ubuntu 24.04) whereas the formula would have built for the platform it was being installed on (thus supporting ubuntu 22.04 or 20.04).

This means anyone using codex from homebrew on older-but-still-supported distros like 22.04 must switch to using the github releases (to use the musl binaries instead) or build from source code. This felt like an oversight, so I'm noting it here!

My suggestion might be to either make the cask use the musl binaries instead of glibc, or perhaps document that the homebrew install only supports ubuntu 24.04 now?

What steps can reproduce the bug?

brew install --cask codex on ubuntu 22.04.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

6 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5317
  • #5324
  • #5515
  • #5342

Powered by Codex Action

FrankFeng2022 · 10 months ago

Thanks for reporting. I got the same issue, as now I can not use brew to install codex in my ubuntu 22.04 PC.

shijie-oai contributor · 10 months ago

Thanks for reporting and we will investigate the issue.

getaaron · 10 months ago

@shijie-oai @FrankFeng2022 @novas0x2a I opened this Homebrew PR to switch to the musl build which will be more broadly compatible: https://github.com/Homebrew/homebrew-cask/pull/234309

getaaron · 10 months ago

@shijie-oai This is updated in Homebrew, I think this issue is good to close now.

etraut-openai contributor · 10 months ago

Thanks for the update.