How To Install nbdkit-basic-plugins on CentOS 7

In this tutorial we learn how to install nbdkit-basic-plugins on CentOS 7. nbdkit-basic-plugins is Basic plugins for nbdkit

Introduction

In this tutorial we learn how to install nbdkit-basic-plugins on CentOS 7.

What is nbdkit-basic-plugins

This package contains some basic plugins for nbdkit which have only trivial dependencies. nbdkit-data-plugin Serve small amounts of data from the command line. nbdkit-file-plugin The normal file plugin for serving files. nbdkit-memory-plugin A virtual memory plugin. nbdkit-nbd-plugin An NBD forwarding plugin. nbdkit-null-plugin A null (bitbucket) plugin. nbdkit-pattern-plugin Fixed test pattern. nbdkit-partitioning-plugin Create virtual disks from partitions. nbdkit-random-plugin Random content plugin for testing. nbdkit-split-plugin Concatenate one or more files. nbdkit-streaming-plugin A streaming file serving plugin. nbdkit-zero-plugin Zero-length plugin for testing.

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

Install nbdkit-basic-plugins on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install nbdkit-basic-plugins using yum by running the following command:

sudo yum -y install nbdkit-basic-plugins

Install nbdkit-basic-plugins 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 nbdkit-basic-plugins using dnf by running the following command:

sudo dnf -y install nbdkit-basic-plugins

How To Uninstall nbdkit-basic-plugins on CentOS 7

To uninstall only the nbdkit-basic-plugins package we can use the following command:

sudo dnf remove nbdkit-basic-plugins

References

Summary

In this tutorial we learn how to install nbdkit-basic-plugins on CentOS 7 using yum and dnf.