How To Install pump on Ubuntu 18.04

In this tutorial we learn how to install pump on Ubuntu 18.04. pump is BOOTP and DHCP client for automatic IP configuration

Introduction

In this tutorial we learn how to install pump on Ubuntu 18.04.

What is pump

pump is:

This is the BOOTP/DHCP client written by RedHat.

DHCP (Dynamic Host Configuration Protocol) and BOOTP (Boot Protocol) are protocols which allow individual devices on an IP network to get their own network configuration information (IP address, subnetmask, broadcast address, etc.) from network servers. The overall purpose of DHCP and BOOTP is to make it easier to administer a large network.

Pump is a combined BOOTP and DHCP client daemon, which allows your machine to retrieve configuration information from a server. You should install this package if you are on a network which uses BOOTP or DHCP.

There are three methods to install pump 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 pump Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pump

Install pump Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pump using apt by running the following command:

sudo apt -y install pump

Install pump 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 pump using aptitude by running the following command:

sudo aptitude -y install pump

How To Uninstall pump on Ubuntu 18.04

To uninstall only the pump package we can use the following command:

sudo apt-get remove pump

Uninstall pump And Its Dependencies

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

sudo apt-get -y autoremove pump

Remove pump Configurations and Data

To remove pump configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pump

Remove pump configuration, data, and all of its dependencies

We can use the following command to remove pump configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pump

References

Summary

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