How To Install libguestfs-bash-completion.noarch on Amazon Linux 2

In this tutorial we learn how to install libguestfs-bash-completion.noarch in Amazon Linux 2. libguestfs-bash-completion.noarch is Bash tab-completion scripts for libguestfs tools

Introduction

In this tutorial we learn how to install libguestfs-bash-completion.noarch on Amazon Linux 2.

What is libguestfs-bash-completion.noarch

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

We can use yum to install libguestfs-bash-completion.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libguestfs-bash-completion.noarch.

Install libguestfs-bash-completion.noarch on Amazon Linux 2 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.noarch using yum by running the following command:

sudo yum -y install libguestfs-bash-completion.noarch

How To Uninstall libguestfs-bash-completion.noarch on Amazon Linux 2

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

sudo yum remove libguestfs-bash-completion.noarch

libguestfs-bash-completion.noarch Package Contents on Amazon Linux 2

/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/guestfish
/usr/share/bash-completion/completions/guestmount
/usr/share/bash-completion/completions/guestunmount
/usr/share/bash-completion/completions/virt-alignment-scan
/usr/share/bash-completion/completions/virt-builder
/usr/share/bash-completion/completions/virt-cat
/usr/share/bash-completion/completions/virt-copy-in
/usr/share/bash-completion/completions/virt-copy-out
/usr/share/bash-completion/completions/virt-customize
/usr/share/bash-completion/completions/virt-df
/usr/share/bash-completion/completions/virt-dib
/usr/share/bash-completion/completions/virt-diff
/usr/share/bash-completion/completions/virt-edit
/usr/share/bash-completion/completions/virt-filesystems
/usr/share/bash-completion/completions/virt-format
/usr/share/bash-completion/completions/virt-get-kernel
/usr/share/bash-completion/completions/virt-inspector
/usr/share/bash-completion/completions/virt-log
/usr/share/bash-completion/completions/virt-ls
/usr/share/bash-completion/completions/virt-p2v-make-disk
/usr/share/bash-completion/completions/virt-p2v-make-kickstart
/usr/share/bash-completion/completions/virt-p2v-make-kiwi
/usr/share/bash-completion/completions/virt-rescue
/usr/share/bash-completion/completions/virt-resize
/usr/share/bash-completion/completions/virt-sparsify
/usr/share/bash-completion/completions/virt-sysprep
/usr/share/bash-completion/completions/virt-tail
/usr/share/bash-completion/completions/virt-tar-in
/usr/share/bash-completion/completions/virt-tar-out
/usr/share/bash-completion/completions/virt-v2v
/usr/share/bash-completion/completions/virt-v2v-copy-to-local
/usr/share/bash-completion/completions/virt-win-reg

References

Summary

In this tutorial we learn how to install libguestfs-bash-completion.noarch on Amazon Linux 2 using yum.