How To Install bridge-utils on CentOS 7

In this tutorial we learn how to install bridge-utils on CentOS 7. bridge-utils is Utilities for configuring the linux ethernet bridge

Introduction

In this tutorial we learn how to install bridge-utils on CentOS 7.

What is bridge-utils

This package contains utilities for configuring the linux ethernet bridge. The linux ethernet bridge can be used for connecting multiple ethernet devices together. The connecting is fully transparent connected to the other ethernet devices directly. Install bridge-utils if you want to use the linux ethernet bridge.

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

Install bridge-utils on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install bridge-utils using yum by running the following command:

sudo yum -y install bridge-utils

Install bridge-utils 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 bridge-utils using dnf by running the following command:

sudo dnf -y install bridge-utils

How To Uninstall bridge-utils on CentOS 7

To uninstall only the bridge-utils package we can use the following command:

sudo dnf remove bridge-utils

References

Summary

In this tutorial we learn how to install bridge-utils on CentOS 7 using yum and dnf.