12.6. DHCPCD-5.2.12

The DHCPCD package provides a DHCP Client for network configuration.

12.6.1. Installation of DHCPCD

If you wish to configure your network to connect to a DHCP server, you will first need to install a DHCP client. CLFS uses the DHCPCD package for this.

Prepare DHCPCD for compilation:

./configure --prefix=/usr --sbindir=/sbin \
    --sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd

Compile the package:


This package does not come with a test suite.

Install the package:

make install

12.6.2. Contents of dhcpcd

Installed files: dhcpcd

Short Descriptions


dhcpcd is an implementation of the DHCP client specified in RFC 2131. It gets the host information from a DHCP server and configures the network interface automatically.