How To Install bsdtar.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bsdtar.x86_64 in Amazon Linux 2. bsdtar.x86_64 is Manipulate tape archives

Introduction

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

What is bsdtar.x86_64

The bsdtar package contains standalone bsdtar utility split off regular libarchive packages.

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

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

sudo yum -y install bsdtar.x86_64

How To Uninstall bsdtar.x86_64 on Amazon Linux 2

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

sudo yum remove bsdtar.x86_64

bsdtar.x86_64 Package Contents on Amazon Linux 2

/usr/bin/bsdtar
/usr/share/doc/bsdtar-3.1.2
/usr/share/doc/bsdtar-3.1.2/COPYING
/usr/share/doc/bsdtar-3.1.2/NEWS
/usr/share/doc/bsdtar-3.1.2/README
/usr/share/man/man1/bsdtar.1.gz

References

Summary

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