How To Install pax.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pax.x86_64 in Amazon Linux 2. pax.x86_64 is POSIX File System Archiver

Introduction

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

What is pax.x86_64

The ‘pax’ utility is the POSIX standard archive tool. It supports the two most common forms of standard Unix archive (backup) files - CPIO and TAR.

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

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

sudo yum -y install pax.x86_64

How To Uninstall pax.x86_64 on Amazon Linux 2

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

sudo yum remove pax.x86_64

pax.x86_64 Package Contents on Amazon Linux 2

/usr/bin/opax
/usr/bin/pax
/usr/share/doc/pax-3.4
/usr/share/doc/pax-3.4/ABOUT-NLS
/usr/share/doc/pax-3.4/AUTHORS
/usr/share/doc/pax-3.4/COPYING
/usr/share/doc/pax-3.4/ChangeLog
/usr/share/doc/pax-3.4/NEWS
/usr/share/doc/pax-3.4/README
/usr/share/doc/pax-3.4/THANKS
/usr/share/man/man1/opax.1.gz
/usr/share/man/man1/pax.1.gz

References

Summary

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