How To Install uec-provisioning-dhcpd on Ubuntu 18.04

In this tutorial we learn how to install uec-provisioning-dhcpd on Ubuntu 18.04. uec-provisioning-dhcpd is the UEC Provisioning DHCP server

Introduction

In this tutorial we learn how to install uec-provisioning-dhcpd on Ubuntu 18.04.

What is uec-provisioning-dhcpd

uec-provisioning-dhcpd is:

This package provides the dhcpd server and configuration for the UEC Provisioning suite.

There are three methods to install uec-provisioning-dhcpd on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install uec-provisioning-dhcpd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install uec-provisioning-dhcpd using apt-get by running the following command:

sudo apt-get -y install uec-provisioning-dhcpd

Install uec-provisioning-dhcpd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install uec-provisioning-dhcpd using apt by running the following command:

sudo apt -y install uec-provisioning-dhcpd

Install uec-provisioning-dhcpd Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install uec-provisioning-dhcpd using aptitude by running the following command:

sudo aptitude -y install uec-provisioning-dhcpd

How To Uninstall uec-provisioning-dhcpd on Ubuntu 18.04

To uninstall only the uec-provisioning-dhcpd package we can use the following command:

sudo apt-get remove uec-provisioning-dhcpd

Uninstall uec-provisioning-dhcpd And Its Dependencies

To uninstall uec-provisioning-dhcpd and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove uec-provisioning-dhcpd

Remove uec-provisioning-dhcpd Configurations and Data

To remove uec-provisioning-dhcpd configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge uec-provisioning-dhcpd

Remove uec-provisioning-dhcpd configuration, data, and all of its dependencies

We can use the following command to remove uec-provisioning-dhcpd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge uec-provisioning-dhcpd

References

Summary

In this tutorial we learn how to install uec-provisioning-dhcpd package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.