How To Install libguestfs-bash-completion on AlmaLinux 8

In this tutorial we learn how to install libguestfs-bash-completion in AlmaLinux 8. libguestfs-bash-completion is Bash tab-completion scripts for libguestfs tools

Introduction

In this tutorial we learn how to install libguestfs-bash-completion on AlmaLinux 8.

What is libguestfs-bash-completion

Install this package if you want intelligent bash tab-completion for guestfish, guestmount and various virt-* tools.

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

Install libguestfs-bash-completion on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libguestfs-bash-completion

Install libguestfs-bash-completion on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libguestfs-bash-completion

How To Uninstall libguestfs-bash-completion on AlmaLinux 8

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

sudo dnf remove libguestfs-bash-completion

References

Summary

In this tutorial we learn how to install libguestfs-bash-completion on AlmaLinux 8 using yum and dnf.