How To Install dhcp-common.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install dhcp-common.x86_64
on Amazon Linux 2.
What is dhcp-common.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. This package provides common files used by dhcp and dhclient package.
We can use yum
to install dhcp-common.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dhcp-common.x86_64.
Install dhcp-common.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 dhcp-common.x86_64
using yum
by running the following command:
sudo yum -y install dhcp-common.x86_64
How To Uninstall dhcp-common.x86_64 on Amazon Linux 2
To uninstall only the dhcp-common.x86_64
package we can use the following command:
sudo yum remove dhcp-common.x86_64
dhcp-common.x86_64 Package Contents on Amazon Linux 2
/etc/dhcp
/usr/share/doc/dhcp-common-4.2.5
/usr/share/doc/dhcp-common-4.2.5/LICENSE
/usr/share/doc/dhcp-common-4.2.5/README
/usr/share/doc/dhcp-common-4.2.5/RELNOTES
/usr/share/doc/dhcp-common-4.2.5/References.txt
/usr/share/man/man5/dhcp-eval.5.gz
/usr/share/man/man5/dhcp-options.5.gz
References
Summary
In this tutorial we learn how to install dhcp-common.x86_64
on Amazon Linux 2 using yum.