Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 Linux support #19208

Open
1 of 7 tasks
ZhongRuoyu opened this issue Feb 3, 2025 · 2 comments
Open
1 of 7 tasks

ARM64 Linux support #19208

ZhongRuoyu opened this issue Feb 3, 2025 · 2 comments
Labels
features New features linux

Comments

@ZhongRuoyu
Copy link
Member

ZhongRuoyu commented Feb 3, 2025

We hope to provide official support for ARM64 Linux, starting with a beta later this year. That includes providing bottles for the platform, and bringing first-class support for brew and core formulae.

To make this happen, the following need to be settled (roughly in order):

  • Release Portable Ruby
  • Provide Docker images
  • Support bootstrapping glibc
  • Prepare CI infrastructure for bottling (similar to x86_64 Linux: rely on GitHub-hosted runners mostly, and self-hosted runner for long-timeout runs)
  • Start bottling core formulae

Also, the following will happen when we feel comfortable:

  • Add installer support
  • Announce beta for ARM64 Linux (this will happen after a significant portion of formulae are bottled)

What is the motivation for the feature?

There has been considerable interest, both internally and externally, in running Homebrew on ARM64 Linux. Having discussed this at the 2025 AGM, we believe that it is feasible for us to start working on this.

How will the feature be relevant to at least 90% of Homebrew users?

Users on ARM64 machines like Raspberry Pis and Ampere servers can also benefit from Homebrew on Linux. Apple Silicon users can also run Homebrew in Docker natively.

What alternatives to the feature have been considered?

Provide a limited level of support for the platform, most likely shipping the aforementioned features barring the bottling-related ones. This will essentially place Homebrew on ARM64 Linux at a support level similar to Rust's tier 3 support.

@ZhongRuoyu ZhongRuoyu added features New features linux labels Feb 3, 2025
@cheese
Copy link

cheese commented Feb 6, 2025

Start with Ubuntu 24.04 or just keep in sync with x86_64 Linux?

@ZhongRuoyu
Copy link
Member Author

Start with Ubuntu 24.04 or just keep in sync with x86_64 Linux?

This is irrelevant to specific distro releases. The aim is to support any ARM64 Linux system, as is the case with Homebrew on x86_64 Linux (which works for systems with glibc > 2.13).

If you mean Homebrew's CI environment, it will be kept in sync with x86_64 Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features New features linux
Projects
None yet
Development

No branches or pull requests

2 participants