How To Install drbd-bash-completion on CentOS 7

In this tutorial we learn how to install drbd-bash-completion on CentOS 7. drbd-bash-completion is Programmable bash completion support for drbdadm

Introduction

In this tutorial we learn how to install drbd-bash-completion on CentOS 7.

What is drbd-bash-completion

This package contains programmable bash completion support for the drbdadm management utility.

We can use yum or dnf to install drbd-bash-completion on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install drbd-bash-completion.

Install drbd-bash-completion on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install drbd-bash-completion using yum by running the following command:

sudo yum -y install drbd-bash-completion

Install drbd-bash-completion on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install drbd-bash-completion using dnf by running the following command:

sudo dnf -y install drbd-bash-completion

How To Uninstall drbd-bash-completion on CentOS 7

To uninstall only the drbd-bash-completion package we can use the following command:

sudo dnf remove drbd-bash-completion

References

Summary

In this tutorial we learn how to install drbd-bash-completion on CentOS 7 using yum and dnf.