Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 27, 2025

DNF5 no longer supports yum groupinstall and the 'Development Tools' group name. Wiki installation instructions for Red Hat/CentOS/Fedora need updating.

Changes

  • Updated Install-Homebridge-on-Red-Hat,-CentOS-or-Fedora-Linux.md with DNF commands:

    • yum installdnf install
    • yum groupinstall -y 'Development Tools'dnf group install -y 'development-tools'
  • Added wiki-docs/README.md with instructions for applying changes to the wiki repository

Before/After

 # install additional dependencies
-sudo yum install -y gcc-c++ make net-tools python2 python3
+sudo dnf install -y gcc-c++ make net-tools python2 python3

 # install build tools
-sudo yum groupinstall -y 'Development Tools'
+sudo dnf group install -y 'development-tools'

Note

The wiki is a separate repository. A maintainer will need to apply these changes to homebridge.wiki manually. See wiki-docs/README.md for details.

Original prompt

This section details on the original issue you should resolve

<issue_title>YUM deprecated & using DNF instead of yum</issue_title>
<issue_description>### Proposed Change

As of DNF5, the yum groupinstall command no longer works, and "Development Tools" is no longer valid.
Image
The fix for this is to change it from sudo yum groupinstall -y 'Development Tools' to sudo dnf group install -y 'development-tools'.
YUM is also deprecated, and I fixed the commands to replace it with DNF:

# install additional dependencies
sudo dnf install -y gcc-c++ make net-tools python2 python3

# install build tools
sudo dnf group install -y 'Development Tools'

# test node is working
node -v

Wiki Page Link

https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Red-Hat%2C-CentOS-or-Fedora-Linux</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits October 27, 2025 13:25
Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix installation commands to use DNF instead of YUM Update Red Hat/CentOS/Fedora wiki install commands from YUM to DNF Oct 27, 2025
Copilot AI requested a review from NorthernMan54 October 27, 2025 13:48
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.

YUM deprecated & using DNF instead of yum

2 participants