How To Install NetworkManager-ovs on Rocky Linux 8

In this tutorial we learn how to install NetworkManager-ovs on Rocky Linux 8. NetworkManager-ovs is Open vSwitch device plugin for NetworkManager

Introduction

In this tutorial we learn how to install NetworkManager-ovs on Rocky Linux 8.

What is NetworkManager-ovs

This package contains NetworkManager support for Open vSwitch bridges.

We can use yum or dnf to install NetworkManager-ovs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install NetworkManager-ovs.

Install NetworkManager-ovs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install NetworkManager-ovs using dnf by running the following command:

sudo dnf -y install NetworkManager-ovs

Install NetworkManager-ovs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install NetworkManager-ovs

How To Uninstall NetworkManager-ovs on Rocky Linux 8

To uninstall only the NetworkManager-ovs package we can use the following command:

sudo dnf remove NetworkManager-ovs

NetworkManager-ovs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/40c6d109746ad90267e0520d39c08e0882f692
/usr/lib/systemd/system/NetworkManager.service.d/NetworkManager-ovs.conf
/usr/lib64/NetworkManager/1.30.0-9.el8_4/libnm-device-plugin-ovs.so
/usr/share/man/man7/nm-openvswitch.7.gz
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/114cec57a46e439fcbb22eb7d6584ad3442523
/usr/lib/systemd/system/NetworkManager.service.d/NetworkManager-ovs.conf
/usr/lib64/NetworkManager/1.30.0-7.el8/libnm-device-plugin-ovs.so
/usr/share/man/man7/nm-openvswitch.7.gz

References

Summary

In this tutorial we learn how to install NetworkManager-ovs on Rocky Linux 8 using yum and dnf.