How To Install libnbd-bash-completion on Fedora 36

In this tutorial we learn how to install libnbd-bash-completion in Fedora 36. libnbd-bash-completion is Bash tab-completion for libnbd

Introduction

In this tutorial we learn how to install libnbd-bash-completion on Fedora 36.

What is libnbd-bash-completion

Install this package if you want intelligent bash tab-completion for libnbd.

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

Install libnbd-bash-completion on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libnbd-bash-completion

Install libnbd-bash-completion on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libnbd-bash-completion

How To Uninstall libnbd-bash-completion on Fedora 36

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

sudo dnf remove libnbd-bash-completion

libnbd-bash-completion Package Contents on Fedora 36

/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/nbdcopy
/usr/share/bash-completion/completions/nbdfuse
/usr/share/bash-completion/completions/nbdinfo
/usr/share/bash-completion/completions/nbdsh

References

Summary

In this tutorial we learn how to install libnbd-bash-completion on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).