How To Install gcab.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gcab.x86_64 in Amazon Linux 2. gcab.x86_64 is Cabinet file library and tool

Introduction

In this tutorial we learn how to install gcab.x86_64 on Amazon Linux 2.

What is gcab.x86_64

gcab is a tool to manipulate Cabinet archive.

We can use yum to install gcab.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gcab.x86_64.

Install gcab.x86_64 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 gcab.x86_64 using yum by running the following command:

sudo yum -y install gcab.x86_64

How To Uninstall gcab.x86_64 on Amazon Linux 2

To uninstall only the gcab.x86_64 package we can use the following command:

sudo yum remove gcab.x86_64

gcab.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gcab
/usr/share/doc/gcab-0.7
/usr/share/doc/gcab-0.7/COPYING
/usr/share/doc/gcab-0.7/NEWS
/usr/share/man/man1/gcab.1.gz

References

Summary

In this tutorial we learn how to install gcab.x86_64 on Amazon Linux 2 using yum.