Skip to content

docs/Homebrew-on-Linux: update instructions for Fedora-based distros #19944

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

xty
Copy link
Contributor

@xty xty commented May 13, 2025

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew typecheck with your changes locally?
  • Have you successfully run brew tests with your changes locally?

This PR introduces a number of changes to Homebrew-on-Linux.md regarding instructions for Fedora-based distributions:

  • Change CentOS to CentOS Stream
    • CentOS has been discontinued, and CentOS Stream now serves as the downstream of Fedora and the upstream of RHEL.
  • Change "Red Hat" to RHEL
    • Red Hat Enterprise Linux is commonly and officially referred to as RHEL, not "Red Hat". The former Red Hat Linux has also been discontinued.
  • Change yum to dnf
    • dnf has been the default package manager on Fedora for over 10 years (since Fedora 22) and on RHEL for over 6 years (since RHEL 8).
    • More importantly, yum groupinstall 'Development Tools' no longer works on Fedora since its adoption of DNF5.
    • This change also aligns with the current installation script, which prioritises dnf over yum.
  • Remove git from the second command
    • git is already included in the Development Tools group.

Copy link
Member

@p-linnane p-linnane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Thanks @xty!

@p-linnane p-linnane added this pull request to the merge queue May 13, 2025
Merged via the queue into Homebrew:master with commit 7bd41e7 May 13, 2025
35 checks passed
@xty xty deleted the fedora branch May 13, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants