How To Install dhclient.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install dhclient.x86_64
on Amazon Linux 2.
What is dhclient.x86_64
DHCP (Dynamic Host Configuration Protocol) is a protocol which allows individual devices on an IP network to get their own network configuration information (IP address, subnetmask, broadcast address, etc.) from a DHCP server. The overall purpose of DHCP is to make it easier to administer a large network. To use DHCP on your network, install a DHCP service (or relay agent), and on clients run a DHCP client daemon. The dhclient package provides the ISC DHCP client daemon.
We can use yum
to install dhclient.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dhclient.x86_64.
Install dhclient.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install dhclient.x86_64
using yum
by running the following command:
sudo yum -y install dhclient.x86_64
How To Uninstall dhclient.x86_64 on Amazon Linux 2
To uninstall only the dhclient.x86_64
package we can use the following command:
sudo yum remove dhclient.x86_64
dhclient.x86_64 Package Contents on Amazon Linux 2
/etc/NetworkManager
/etc/NetworkManager/dispatcher.d
/etc/NetworkManager/dispatcher.d/11-dhclient
/etc/dhcp/dhclient-exit-hooks.d
/etc/dhcp/dhclient-exit-hooks.d/azure-cloud.sh
/etc/dhcp/dhclient.d
/usr/lib64/pm-utils/sleep.d/56dhclient
/usr/sbin/dhclient
/usr/sbin/dhclient-script
/usr/share/doc/dhclient-4.2.5
/usr/share/doc/dhclient-4.2.5/README.dhclient.d
/usr/share/doc/dhclient-4.2.5/dhclient.conf.example
/usr/share/doc/dhclient-4.2.5/dhclient6.conf.example
/usr/share/man/man5/dhclient.conf.5.gz
/usr/share/man/man5/dhclient.leases.5.gz
/usr/share/man/man8/dhclient-script.8.gz
/usr/share/man/man8/dhclient.8.gz
/var/lib/dhclient
References
Summary
In this tutorial we learn how to install dhclient.x86_64
on Amazon Linux 2 using yum.