Dhcp-client listed as unneeded?

hi,
when i type the zypper pa --unneeded, dhclp-client appears in the list, so im quite confused because i have both dhcp-client and dhcpcd installed (both automatically) but only the first one is listed as unneeded
if im correct both are doing the same job, at least for a standard desktop PC, so why do i have these 2 installed if they apprently do the same thing ? and why is one of them listed as unneeded ?
are both necessary ? or is the unneeded package safe to remove ?

How should we know it? dhcp-client was used as the default DHCP client in the past but no more, which likely explains why it is present (and is considered “unneeded” now). For dhcpcd - check what requires or recommends this package. I do not have dhcpcd installed.

Because no installed package requires or recommends one of them. Which is the exact definition of “unneeded”.

Necessary for what? NetworkManager, wicked and systemd-networkd all have internal implementation of DHCP client and do not need any external helper (although NetworkManager can be configured to use one). The 'Net is full of recipes that suggest running DHCP clients manually. Only you can know whether you need them.

Define “safe”. “Unneeded” package is not needed by any other installed package and its removal will not uninstall additional packages. Does it make it “safer”?

by «safe» i mean does removing these will break DHCP on my machine or not?

Like @arvidjaar already indicated only you know if you need the executables.

If it helps, rpm -ql dhcp-client will list you the files in the package.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.