Unable to find "dhcp" or "dhcp-server" in dnf

Hi,

I’ve just recently installed Rocky 10 minimal and it is on the network, getting yum updates etc. It will become a DHCP server (I ticked this under the installation page but it wasn’t installed). I’m truing to download it via dnf but it cannot find it. I’m sure I’m doing something stupid - see commands below. Any help would be appreciated.

[root@cs-dhcp-03 dhcp]# dnf install dhcp-server -y
Last metadata expiration check: 0:07:06 ago on Mon 17 Nov 2025 08:44:41 GMT.
No match for argument: dhcp-server
Error: Unable to find a match: dhcp-server
[root@cs-dhcp-03 dhcp]# dnf install dhcp -y
Last metadata expiration check: 0:07:13 ago on Mon 17 Nov 2025 08:44:41 GMT.
No match for argument: dhcp
Error: Unable to find a match: dhcp
[root@cs-dhcp-03 dhcp]#

You are looking for the kea packages. The ISC DHCP packages are not part of Rocky Linux 10.

Thank you. Much appreciated. Do you know if the ISC dhcp file format is compatible with KEA file format? Our secondary DHCP server is ISC and we auto-copy the primary DHCP file to secondary.
Thanks again

One way to find out would simply be to install it and see if it reads the config file? Taking a look at the package info:

[root@rocky10 ~]# dnf info kea
Last metadata expiration check: 0:01:38 ago on Mon 17 Nov 2025 10:45:45 AM CET.
Available Packages
Name         : kea
Version      : 2.6.3
Release      : 1.el10_0
Architecture : x86_64
Size         : 1.3 M
Source       : kea-2.6.3-1.el10_0.src.rpm
Repository   : baseos
Summary      : DHCPv4, DHCPv6 and DDNS server from ISC
URL          : http://kea.isc.org
License      : MPL-2.0 AND BSL-1.0
Description  : DHCP implementation from Internet Systems Consortium, Inc. that features fully
             : functional DHCPv4, DHCPv6 and Dynamic DNS servers.
             : Both DHCP servers fully support server discovery, address assignment, renewal,
             : rebinding and release. The DHCPv6 server supports prefix delegation. Both
             : servers support DNS Update mechanism, using stand-alone DDNS daemon.

It does mention that kea is a DHCP implementation from ISC, so there is a chance for compatibility. You’ll be able to find out in a matter of minutes if not seconds, if it’s compatible or not after installing it and getting it to read your existing config file.

1 Like

There is no compatibility between isc-dhcp-server and kea, you have to run one or the other and as you can now only get kea on Rocky Linux 10, you will have to turn off any running isc-dhcp-server instances and quite possibly reboot everything.

1 Like

For smaller needs the dnsmasq is also a DHCP/DNS/TFTP server.

previous ISC dhcp is now EOL, now they have kea for the DHCP service.