How To Install bsdcpio.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bsdcpio.x86_64 in Amazon Linux 2. bsdcpio.x86_64 is Copy files to and from archives

Introduction

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

What is bsdcpio.x86_64

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

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

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

sudo yum -y install bsdcpio.x86_64

How To Uninstall bsdcpio.x86_64 on Amazon Linux 2

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

sudo yum remove bsdcpio.x86_64

bsdcpio.x86_64 Package Contents on Amazon Linux 2

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

References

Summary

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